ChildrenOutletContexts
Store contextual information about the children (= nested) RouterOutlet
class ChildrenOutletContexts {
onChildOutletCreated(childName: string, outlet: RouterOutlet): void
onChildOutletDestroyed(childName: string): void
onOutletDeactivated(): Map<string, OutletContext>
onOutletReAttached(contexts: any)
getOrCreateContext(childName: string): OutletContext
getContext(childName: string): OutletContext | null
}
Methods
Called when a |
||||||
Parameters
Returns
|
Called when a |
Called when the corresponding route is deactivated during navigation. Because the component get destroyed, all children outlet are destroyed. |
ParametersThere are no parameters. Returns
|
Parameters
Returns
|