RouterStatelink
Represents the state of the router.
说明
RouterState is a tree of activated routes. Every node in this tree knows about the "consumed" URL segments, the extracted parameters, and the resolved data.
Example
See ActivatedRoute
for more information.
属性
属性名 | 类型 | 说明 |
---|---|---|
snapshot | The current snapshot of the router state |
方法
参数没有参数。 返回值
|