Event

From Get docs
< @angular/routerAngular/docs/8/api/router/event


Event

type-alias

Router events that allow you to track the lifecycle of the router.

See more...

type Event = RouterEvent | RouteConfigLoadStart | RouteConfigLoadEnd | ChildActivationStart | ChildActivationEnd | ActivationStart | ActivationEnd | Scroll;

Description

The sequence of router events is as follows:

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


© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v8.angular.io/api/router/Event