Spec-Zone.ru › Angular

ResolveStart

An event triggered at the start of the Resolve phase of routing.

ResolveEnd

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;
  override id: number;
  override url: string;
}

constructor

ResolveStart
@paramidnumber
@paramurlstring
@paramurlAfterRedirectsstring
@paramstateRouterStateSnapshot
@returnsResolveStart

type

EventType.ResolveStart

urlAfterRedirects

string

state

RouterStateSnapshot

id

number

A unique ID that the router assigns to every router navigation.

url

string

The 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.

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/router/ResolveStart

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API