linkNavigationCancel
npm Package | @angular/router |
---|---|
Module | import { NavigationCancel } from '@angular/router'; |
Source | router/src/events.ts |
Represents an event triggered when a navigation is canceled.
linkOverview
class NavigationCancel extends RouterEvent {
constructor(id: number, url: string, reason: string)
reason: string
toString(): string
// inherited from router/RouterEvent
id: number
url: string
}