GuardsCheckEnd

Represents the end of the Guard phase of routing.

表示路由的守卫(Guard)阶段的结束。

class GuardsCheckEnd extends RouterEvent { constructor(id: number, url: string, urlAfterRedirects: string, state: RouterStateSnapshot, shouldActivate: boolean) urlAfterRedirects: string state: RouterStateSnapshot shouldActivate: boolean toString(): string // 继承自 router/RouterEvent constructor(id: number, url: string) id: number url: string }

构造函数

constructor(id: number, url: string, urlAfterRedirects: string, state: RouterStateSnapshot, shouldActivate: boolean)

参数

id

Type: number.

url

Type: string.

urlAfterRedirects

Type: string.

state

Type: RouterStateSnapshot.

shouldActivate

Type: boolean.

属性

属性名类型说明
urlAfterRedirects声明于构造函数中
state声明于构造函数中
shouldActivate声明于构造函数中

方法

toString(): string

参数

没有参数。

返回值

string