parent
14ad2a8c68
commit
28174673fe
|
@ -166,8 +166,8 @@ code-example(format="", language="html").
|
||||||
the `RouterLink` if we so desired.
|
the `RouterLink` if we so desired.
|
||||||
:marked
|
:marked
|
||||||
### Router State
|
### Router State
|
||||||
After the end of each successful navigation lifecycle, the router builds a tree of `ActivatedRoute`s,
|
After the end of each successful navigation lifecycle, the router builds a tree of `ActivatedRoute` objects
|
||||||
which make up the current state of the router. We can access the current `RouterState` from anywhere in our
|
that make up the current state of the router. We can access the current `RouterState` from anywhere in our
|
||||||
application using the `Router` service and the `routerState` property.
|
application using the `Router` service and the `routerState` property.
|
||||||
|
|
||||||
The router state provides us with methods to traverse up and down the route tree from any activated route
|
The router state provides us with methods to traverse up and down the route tree from any activated route
|
||||||
|
|
Loading…
Reference in New Issue