0 votes
in Angular by
What are the different router events used in Angular Router?

1 Answer

0 votes
by

During each navigation, the Router emits navigation events through the Router.events property. It allows us to track the lifecycle of the route.

Following is the list of different router events in sequence:

  • NavigationStart
  • RouteConfigLoadStart
  • RouteConfigLoadEnd
  • RoutesRecognized
  • GuardsCheckStart
  • ChildActivationStart
  • ActivationStart
  • GuardsCheckEnd
  • ResolveStart
  • ResolveEnd
  • ActivationEnd
  • ChildActivationEnd
  • NavigationEnd
  • NavigationCancel
  • NavigationError

Related questions

0 votes
0 votes
asked Feb 15, 2020 in Angular by matthenary
0 votes
asked Aug 11, 2023 in Angular by DavidAnderson
...