export class RouteData
export class RouteData
exported from angular2/router defined in angular2/src/router/instruction.ts (line 40)
RouteData
is an immutable map of additional data you can configure in your Route
.
You can inject RouteData
into the constructor of a component to use it.
Example
Constructor
constructor(data?: {[key: string]: any})
constructor(data?: {[key: string]: any})
Not Yet Documented
Members
data : {[key: string]: any}
data : {[key: string]: any}
Not Yet Documented
get(key: string) : any
get(key: string) : any
Not Yet Documented