@angular/router

NavigationCancel

Class

An event triggered when a navigation is canceled, directly or indirectly. This can happen for several reasons including when a route guard returns false or initiates a redirect by returning a UrlTree.

  
    class NavigationCancel extends RouterEvent {}
  
  
Jump to details