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