W3cubDocs

/Angular 4 TypeScript

RoutesRecognized

Stable Class

What it does

Represents an event triggered when routes are recognized.

Class Overview

class RoutesRecognized {
  constructor(id: number, url: string, urlAfterRedirects: string, state: RouterStateSnapshot)
  
  
  id : number
  url : string
  urlAfterRedirects : string
  state : RouterStateSnapshot
  toString() : string
}

Class Description

Constructor

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

Class Details

id : number
url : string
urlAfterRedirects : string
state : RouterStateSnapshot
toString() : string

exported from router/index, defined in router/src/events.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/docs/ts/latest/api/router/index/RoutesRecognized-class.html