docs(router): Updated documentation for router outlet deactivate method
Closes #4752
This commit is contained in:
@ -90,8 +90,8 @@ export class RouterOutlet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called by the {@link Router} when an outlet reuses a component across navigations.
|
* Called by the {@link Router} when an outlet disposes of a component's contents.
|
||||||
* This method in turn is responsible for calling the `onReuse` hook of its child.
|
* This method in turn is responsible for calling the `onDeactivate` hook of its child.
|
||||||
*/
|
*/
|
||||||
deactivate(nextInstruction: ComponentInstruction): Promise<any> {
|
deactivate(nextInstruction: ComponentInstruction): Promise<any> {
|
||||||
var next = _resolveToTrue;
|
var next = _resolveToTrue;
|
||||||
|
Reference in New Issue
Block a user