OutletContext
Store contextual information about a RouterOutlet
class OutletContext {
outlet: RouterOutlet | null
route: ActivatedRoute | null
resolver: ComponentFactoryResolver | null
children: ChildrenOutletContexts
attachRef: ComponentRef<any> | null
}
属性
属性 | 说明 |
---|---|
outlet: RouterOutlet | null | |
route: ActivatedRoute | null | |
resolver: ComponentFactoryResolver | null | |
children: ChildrenOutletContexts | |
attachRef: ComponentRef<any> | null |