2015-08-06 23:25:42 -07:00
p.location-badge.
exported from <a href='../router'>angular2/router</a>
2015-08-11 17:09:57 -07:00
defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.34/modules/angular2/src/router/instruction.ts#L19-L35">angular2/src/router/instruction.ts (line 19)</a>
2015-08-06 23:25:42 -07:00
:markdown
2015-08-11 17:09:57 -07:00
`Instruction` is a tree of `ComponentInstructions`, with all the information needed
to transition each component in the app to a given route, including all auxiliary routes.
This is a public API.
2015-08-06 23:25:42 -07:00
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
2015-08-11 17:09:57 -07:00
constructor(component: ComponentInstruction, child: Instruction, auxInstruction: StringMap<string, Instruction>)
2015-08-06 23:25:42 -07:00
:markdown
.l-sub-section
h3 component
:markdown
.l-sub-section
2015-08-11 17:09:57 -07:00
h3 child
2015-08-06 23:25:42 -07:00
:markdown
.l-sub-section
2015-08-11 17:09:57 -07:00
h3 auxInstruction
2015-08-06 23:25:42 -07:00
:markdown
.l-sub-section
2015-08-11 17:09:57 -07:00
h3 replaceChild
2015-08-06 23:25:42 -07:00
pre.prettyprint
code.
2015-08-11 17:09:57 -07:00
replaceChild(child: Instruction)
2015-08-06 23:25:42 -07:00
:markdown