OutletContext

class

npm Package @angular/router
Module import { OutletContext } from '@angular/router';
Source router/src/router_outlet_context.ts

Overview

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

Description

Store contextual information about a RouterOutlet

Members

outlet: RouterOutlet|null

route: ActivatedRoute|null

resolver: ComponentFactoryResolver|null

children: new ChildrenOutletContexts()

attachRef: ComponentRef<any>|null

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