OutletContext
存储关于 RouterOutlet
的上下文信息
Store contextual information about a RouterOutlet
class OutletContext {
outlet: RouterOutletContract | null
route: ActivatedRoute | null
resolver: ComponentFactoryResolver | null
children: ChildrenOutletContexts
attachRef: ComponentRef<any> | null
}
属性
属性 | 说明 |
---|---|
outlet: RouterOutletContract | null | |
route: ActivatedRoute | null | |
resolver: ComponentFactoryResolver | null | |
children: ChildrenOutletContexts | |
attachRef: ComponentRef<any> | null |