parent
b4b0c39f10
commit
cb0af7860d
|
@ -229,7 +229,7 @@ code-example(format="." language="html").
|
||||||
We don't really need a dedicated method to wrap one line. We write it anyway:
|
We don't really need a dedicated method to wrap one line. We write it anyway:
|
||||||
+makeExample('toh-4/ts/app/app.component.1.ts', 'getHeroes', 'app.component.ts (getHeroes)')(format=".")
|
+makeExample('toh-4/ts/app/app.component.1.ts', 'getHeroes', 'app.component.ts (getHeroes)')(format=".")
|
||||||
|
|
||||||
a.(id="oninit")
|
<a id="oninit"></a>
|
||||||
:marked
|
:marked
|
||||||
### The *ngOnInit* Lifecycle Hook
|
### The *ngOnInit* Lifecycle Hook
|
||||||
`AppComponent` should fetch and display heroes without a fuss.
|
`AppComponent` should fetch and display heroes without a fuss.
|
||||||
|
|
Loading…
Reference in New Issue