Skip to content

Commit

Permalink
docs: add detail to router event doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jbogarthyde committed Aug 14, 2019
1 parent cda205d commit e135ad0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/router/src/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,13 @@ export class NavigationEnd extends RouterEvent {
}

/**
* An event triggered when a navigation is canceled.
* An event triggered when a navigation is canceled, directly or indirectly.
*
* This can happen when a [route guard](guide/router#milestone-5-route-guards)
* returns `false` (or a promise that resolves to `false`,
* or an observable that emits `false`).
* The current navigation is also canceled when a route guard
* initiates redirect.
*
* @publicApi
*/
Expand Down

0 comments on commit e135ad0

Please sign in to comment.