On this page
OutletContext
class
final
Store contextual information about a RouterOutlet
class OutletContext {
outlet: RouterOutletContract | null
route: ActivatedRoute | null
resolver: ComponentFactoryResolver | null
injector: EnvironmentInjector | null
children: ChildrenOutletContexts
attachRef: ComponentRef<any> | null
}
Properties
Property | Description |
---|---|
outlet: RouterOutletContract | null |
|
route: ActivatedRoute | null |
|
resolver: ComponentFactoryResolver | null |
Deprecated Passing a resolver to retrieve a component factory is not required and is deprecated since v14. |
injector: EnvironmentInjector | null |
|
children: ChildrenOutletContexts |
|
attachRef: ComponentRef<any> | null |
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v14.angular.io/api/router/OutletContext