This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree 1 file changed +2
-2
lines changed
public/docs/ts/latest/tutorial
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -259,12 +259,12 @@ figure.image-display
259
259
As we noted above, that is the component's cue to create and present an empty hero.
260
260
261
261
Add the following HTML to the `heroes.component.html`, just below the hero list (the `*ngFor`).
262
- + makeExample('toh-6/ts/app/heroes.component.html' , 'add-hero' , 'app/heroes.component.ts (add)' )( format ="." )
262
+ + makeExample('toh-6/ts/app/heroes.component.html' , 'add-hero' , 'app/heroes.component.html (add)' )( format ="." )
263
263
:marked
264
264
The user can *delete* an existing hero by clicking a delete button next to the hero's name.
265
265
266
266
Add the following HTML to the `heroes.component.html` right after the name in the repeated `<li>` tag:
267
- + makeExample('toh-6/ts/app/heroes.component.html' , 'delete-hero' , 'app/heroes.component.ts (delete)' )( format ="." )
267
+ + makeExample('toh-6/ts/app/heroes.component.html' , 'delete-hero' , 'app/heroes.component.html (delete)' )( format ="." )
268
268
269
269
:marked
270
270
Now let's fix-up the `HeroesComponent` to support the *add* and *delete* actions in the template.
You can’t perform that action at this time.
0 commit comments