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

RoutesRecognized

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

Represents an event triggered when routes are recognized.

Overview

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

Constructor

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

Members

      
      urlAfterRedirects: string
    


      
      toString(): string