ResolveEnd

表示路由解析(Resolve)阶段的结束。参见 ResolveStart 上的注释以了解这个试验性 API 的用法。

Represents the end of the Resolve phase of routing. See note on ResolveStart for use of this experimental API.

      
      class ResolveEnd extends RouterEvent {
  constructor(id: number, url: string, urlAfterRedirects: string, state: RouterStateSnapshot)
  urlAfterRedirects: string
  state: RouterStateSnapshot
  toString(): string

  // 继承自 router/RouterEvent
  constructor(id: number, url: string)
  id: number
  url: string
}
    

构造函数

constructor(id: number, url: string, urlAfterRedirects: string, state: RouterStateSnapshot)
      
      constructor(id: number, url: string, urlAfterRedirects: string, state: RouterStateSnapshot)
    
参数
id number
url string
urlAfterRedirects string
state RouterStateSnapshot

属性

属性说明
urlAfterRedirects: string 声明于构造函数中
state: RouterStateSnapshot 声明于构造函数中

方法

toString(): string
      
      toString(): string
    
参数

没有参数。

返回值

string