{ "id": "api/router/OutletContext", "title": "OutletContext", "contents": "\n\n
\n
\n
\n \n API > @angular/router\n
\n \n
\n \n
\n

OutletContextlink

\n \n \n \n \n \n
\n \n \n\n
\n \n
\n

Store contextual information about a RouterOutlet

\n\n \n
\n \n \n \n
\n\nclass OutletContext {\n outlet: RouterOutletContract | null\n route: ActivatedRoute | null\n resolver: ComponentFactoryResolver | null\n children: ChildrenOutletContexts\n attachRef: ComponentRef<any> | null\n}\n\n\n \n \n\n
\n\n\n \n\n \n \n \n\n\n\n\n\n\n\n\n
\n

Propertieslink

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
PropertyDescription
\n \n outlet: RouterOutletContract | null\n \n \n \n \n
\n \n route: ActivatedRoute | null\n \n \n \n \n
\n \n resolver: ComponentFactoryResolver | null\n \n \n \n \n
\n \n children: ChildrenOutletContexts\n \n \n \n \n
\n \n attachRef: ComponentRef<any> | null\n \n \n \n \n
\n
\n\n\n\n\n\n \n\n\n
\n
\n\n\n" }