W3cubDocs

/Angular 12

OutletContext

class final

Store contextual information about a RouterOutlet

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

Properties

Property Description
outlet: RouterOutletContract | 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://v12.angular.io/api/router/OutletContext