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

RoutesRecognized

表示当路由被识别出来时触发的事件。

An event triggered when routes are recognized.

      
      class RoutesRecognized 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)
    
参数
id number
url string
urlAfterRedirects string
state RouterStateSnapshot

属性

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

方法

      
      toString(): string
    
参数

没有参数。

返回值

string