ResolveStart
Class
stable
An event triggered at the start of the Resolve phase of routing.
API
class ResolveStart extends RouterEvent { constructor(id: number, url: string, urlAfterRedirects: string, state: RouterStateSnapshot): ResolveStart; readonly type: EventType.ResolveStart; override urlAfterRedirects: string; override state: RouterStateSnapshot; toString(): string; override id: number; override url: string;}
constructor
ResolveStarturlAfterRedirects
stringstate
RouterStateSnapshottoString
string@returns
stringid
numberA unique ID that the router assigns to every router navigation.
url
stringThe URL that is the destination for this navigation.
Description
An event triggered at the start of the Resolve phase of routing.
Runs in the "resolve" phase whether or not there is anything to resolve. In future, may change to only run when there are things to be resolved.
Jump to details