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