template.html in Decoupled Blocks 8
Same filename in this branch
- 8 modules/pdb_ng2/components/ng2_example_node/template.html
- 8 modules/pdb_ng2/components/ng2_example_configuration/template.html
- 8 modules/pdb_ng2/components/ng2_example_2/template.html
- 8 modules/pdb_ng2/components/ng2_todo/template.html
- 8 modules/pdb_ng2/components/ng2_example_1/template.html
- 8 modules/pdb_ng2/components/ng2_hero/template.html
- 8 modules/pdb_ng2/components/ng2_hero/ng2_hero_detail/template.html
File
modules/pdb_ng2/components/ng2_hero/template.htmlView source
<h1>{{title}}</h1> <h2>My Heroes</h2> <ul class="heroes"> <li *ngFor="let hero of heroes" [class.selected]="hero === selectedHero" (click)="onSelect(hero)"> <span class="badge">{{hero.id}}</span> {{hero.name}} </li> </ul> <ng2-hero-detail [hero]="selectedHero"></ng2-hero-detail>