Router Events and Navigation
Respond to navigation lifecycle events.
The router event stream
Router.events is an observable that emits during the navigation lifecycle: start, recognition, guard checks, resolve, and end. Subscribe to react to navigation globally.
Key event types
Common events: NavigationStart, NavigationEnd, NavigationCancel, NavigationError. Each is a class instance you can filter for.
All lessons in this course
- Route Parameters and Query Params
- Resolvers and Route Data
- Functional Route Guards
- Router Events and Navigation