An event triggered at the start of the Guard phase of routing.
API
class GuardsCheckStart extends RouterEvent {
constructor(id: number, url: string, urlAfterRedirects: string, state: RouterStateSnapshot): GuardsCheckStart;
readonly type: EventType.GuardsCheckStart;
override urlAfterRedirects: string;
override state: RouterStateSnapshot;
override id: number;
override url: string;
}
constructor
GuardsCheckStarturlAfterRedirects
stringstate
RouterStateSnapshotid
numberA unique ID that the router assigns to every router navigation.
url
stringThe URL that is the destination for this navigation.