docs(router): Updated documentation for router outlet deactivate method

Closes #4752
This commit is contained in:
Brandon Roberts
2015-10-14 21:23:59 -05:00
committed by Brandon
parent 05d29a936d
commit c3ab20cc87

View File

@ -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;