• Overview
@angular/router

OutletContext

Class
stable

Store contextual information about a RouterOutlet

API

  class OutletContext { constructor(rootInjector: EnvironmentInjector): OutletContext; outlet: RouterOutletContract | null; route: ActivatedRoute | null; children: ChildrenOutletContexts; attachRef: ComponentRef<any> | null; readonly injector: EnvironmentInjector;}  

constructor

OutletContext
@paramrootInjectorEnvironmentInjector

route

ActivatedRoute | null

attachRef

ComponentRef<any> | null
Jump to details