* docs(toh-6/dart): first edition of prose and example code NOTE: this PR depends on #1686. Dart prose and example match TS except that: - No child-to-parent event emission occurs. - Support for Add Hero is added as an unconditional feature of the Heroes view. - http `_post` takes only a name - http `delete` takes only a hero id. - The Dart in-memory-data-service has been dropped in favor of an implementation based on the "standard" `http.testing.MockClient` class. * post-review changes
12 lines
295 B
HTML
12 lines
295 B
HTML
<!-- #docregion -->
|
|
<h3>Top Heroes</h3>
|
|
<div class="grid grid-pad">
|
|
<!-- #docregion click -->
|
|
<div *ngFor="let hero of heroes" (click)="gotoDetail(hero)" class="col-1-4" >
|
|
<!-- #enddocregion click -->
|
|
<div class="module hero">
|
|
<h4>{{hero.name}}</h4>
|
|
</div>
|
|
</div>
|
|
</div>
|