[ Web Proxy ]
URL:
Viewing: https://angular.dev/api/router/NavigationSkippedCode [Back]  [Original]

NavigationSkippedCode Angular Skip to main content
menu
close
more_horiz
menuAPI
@angular/router

NavigationSkippedCode

enum
stable

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

On this page

    arrow_upward_alt Back to the top

    API

        
          enum NavigationSkippedCode {  IgnoredSameUrlNavigation: NavigationSkippedCode.IgnoredSameUrlNavigation;  IgnoredByUrlHandlingStrategy: NavigationSkippedCode.IgnoredByUrlHandlingStrategy;}
        
        

    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.

    Jump to details

    Web Proxy Viewer  |  New URL  |  Original Page