Skip to content

Commit c3ab20c

Browse files
docs(router): Updated documentation for router outlet deactivate method
Closes angular#4752
1 parent 05d29a9 commit c3ab20c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/angular2/src/router/router_outlet.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ export class RouterOutlet {
9090
}
9191

9292
/**
93-
* Called by the {@link Router} when an outlet reuses a component across navigations.
94-
* This method in turn is responsible for calling the `onReuse` hook of its child.
93+
* Called by the {@link Router} when an outlet disposes of a component's contents.
94+
* This method in turn is responsible for calling the `onDeactivate` hook of its child.
9595
*/
9696
deactivate(nextInstruction: ComponentInstruction): Promise<any> {
9797
var next = _resolveToTrue;

0 commit comments

Comments
 (0)