Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit fdbdecb

Browse files
committed
docs(cookbook/graphql): Add docregion
1 parent acf5d7e commit fdbdecb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

public/docs/_examples/heroes-graphql/ts/app/heroes.component.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ <h2>My Heroes</h2>
1010
<!-- #enddocregion add -->
1111
<ul class="heroes">
1212
<!-- #docregion li-element -->
13+
<!-- #docregion render-heroes -->
1314
<li *ngFor="let hero of heroes" (click)="onSelect(hero)"
1415
[class.selected]="hero === selectedHero">
1516
<span class="badge">{{hero.id}}</span>
@@ -19,6 +20,7 @@ <h2>My Heroes</h2>
1920
(click)="delete(hero); $event.stopPropagation()">x</button>
2021
<!-- #enddocregion delete -->
2122
</li>
23+
<!-- #enddocregion render-heroes -->
2224
<!-- #enddocregion li-element -->
2325
</ul>
2426
<div *ngIf="selectedHero">

0 commit comments

Comments
 (0)