填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

ResolveStart

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

查看"说明"...

      
      class ResolveStart 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
}
    

说明

表示路由解析(Resolve)阶段的开始。该事件的触发时机将来可能会改变,因为它是试验性的。 在当前的迭代中,它将会在 resolve 阶段执行,而不管有没有东西要 resolve。 将来,这种行为可能会修改成只有当有东西要 resolve 时才执行。

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.

构造函数

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: stringDeclared in constructor.
state: RouterStateSnapshotDeclared in constructor.

方法

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

没有参数。

返回值

string