W3cubDocs

/Angular

NavigationSkippedCode

enum

A code for the NavigationSkipped event of the Router to indicate the reason a navigation was skipped.

enum NavigationSkippedCode {
  IgnoredSameUrlNavigation
  IgnoredByUrlHandlingStrategy
}

Members

Member Description
IgnoredSameUrlNavigation

A navigation was skipped because the navigation URL was the same as the current Router URL.

IgnoredByUrlHandlingStrategy

A navigation was skipped because the configured UrlHandlingStrategy return false for both the current Router URL and the target of the navigation.

See also:

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