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
}
构造函数
参数
|
属性
属性 | 说明 |
---|---|
urlAfterRedirects: string | Declared in constructor. |
state: RouterStateSnapshot | Declared in constructor. |
方法
参数没有参数。 返回值
|