W3cubDocs

/Angular 11

OutletContext

class

Store contextual information about a RouterOutlet

class OutletContext {
  outlet: RouterOutlet | null
  route: ActivatedRoute | null
  resolver: ComponentFactoryResolver | null
  children: ChildrenOutletContexts
  attachRef: ComponentRef<any> | null
}

Properties

Property Description
outlet: RouterOutlet | null
route: ActivatedRoute | null
resolver: ComponentFactoryResolver | null
children: ChildrenOutletContexts
attachRef: ComponentRef<any> | null

© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/router/OutletContext