ComponentInstruction

export class ComponentInstruction

exported from angular2/router defined in angular2/src/router/instruction.ts (line 287)

A ComponentInstruction represents the route state for a single component. An Instruction is composed of a tree of these ComponentInstructions.

ComponentInstructions is a public API. Instances of ComponentInstruction are passed to route lifecycle hooks, like CanActivate.

ComponentInstructions are https://en.wikipedia.org/wiki/Hash_consing. You should never construct one yourself with "new." Instead, rely on RouteRecognizer to construct ComponentInstructions.

You should not modify this object. It should be treated as immutable.

Constructor

constructor(urlPath: string, urlParams: string[], data: RouteData, componentType: any, terminal: boolean, specificity: string, params?: {[key: string]: any})

Not Yet Documented

Members

reuse : boolean

Not Yet Documented

routeData : RouteData

Not Yet Documented

urlPath : string

Not Yet Documented

urlParams : string[]

Not Yet Documented

componentType

Not Yet Documented

terminal : boolean

Not Yet Documented

specificity : string

Not Yet Documented

params : {[key: string]: any}

Not Yet Documented