docs: add small clarity around navigationCancel (#42282)
Add small clarity to sentence in documentation for navigation cancel event to indicate that router guards returning false or urlTree is only one of several reasons a NavigationCancel event happens. fixes #26613 PR Close #42282
This commit is contained in:
parent
2ff5bfe139
commit
ef33806480
|
@ -134,7 +134,7 @@ export class NavigationEnd extends RouterEvent {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An event triggered when a navigation is canceled, directly or indirectly.
|
* An event triggered when a navigation is canceled, directly or indirectly.
|
||||||
* This can happen when a route guard
|
* This can happen for several reasons including when a route guard
|
||||||
* returns `false` or initiates a redirect by returning a `UrlTree`.
|
* returns `false` or initiates a redirect by returning a `UrlTree`.
|
||||||
*
|
*
|
||||||
* @see `NavigationStart`
|
* @see `NavigationStart`
|
||||||
|
|
Loading…
Reference in New Issue