This is the archived documentation for Angular v5. Please visit angular.io to see documentation for the current version of Angular.

NavigationEnd

npm Package @angular/router
Module import { NavigationEnd } from '@angular/router';
Source router/src/events.ts

Represents an event triggered when a navigation ends successfully.

Overview

      
      class NavigationEnd extends RouterEvent {
  constructor(id: number, url: string, urlAfterRedirects: string)
  urlAfterRedirects: string
  toString(): string
  // inherited from router/RouterEvent
  id: number
  url: string
}
    

Constructor

      
      constructor(id: number, url: string, urlAfterRedirects: string)
    

Members

      
      urlAfterRedirects: string
    

      
      toString(): string