export class 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 ComponentInstruction
s.
ComponentInstructions
is a public API. Instances of ComponentInstruction
are passed
to route lifecycle hooks, like CanActivate
.
ComponentInstruction
s are https://en.wikipedia.org/wiki/Hash_consing. You should
never construct one yourself with "new." Instead, rely on RouteRecognizer to
construct ComponentInstruction
s.
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})
constructor(urlPath: string, urlParams: string[], data: RouteData, componentType: any, terminal: boolean, specificity: string, params?: {[key: string]: any})
Not Yet Documented
Members
reuse : boolean
reuse : boolean
Not Yet Documented
routeData : RouteData
routeData : RouteData
Not Yet Documented
urlPath : string
urlPath : string
Not Yet Documented
urlParams : string[]
urlParams : string[]
Not Yet Documented
componentType
componentType
Not Yet Documented
terminal : boolean
terminal : boolean
Not Yet Documented
specificity : string
specificity : string
Not Yet Documented
params : {[key: string]: any}
params : {[key: string]: any}
Not Yet Documented