W3cubDocs

/Angular 10

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–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v10.angular.io/api/router/OutletContext