Mercurial > hg > ugly-duckling
annotate src/app/feature-extraction-menu/feature-extraction-menu.component.html @ 432:5220174f2712
Don't propagate button click event, will fire two events due to link on list-item.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Wed, 07 Jun 2017 08:58:38 +0100 |
parents | 686cf74aa0a2 |
children | 48904aa87ba3 |
rev | line source |
---|---|
dev@100 | 1 <div class="container"> |
dev@423 | 2 <md-list dense> |
dev@423 | 3 <ng-container |
dev@100 | 4 *ngFor="let extractor of extractors" |
dev@100 | 5 > |
dev@423 | 6 <h3 md-subheader>{{extractor.name}}</h3> |
dev@431 | 7 <md-list-item |
dev@431 | 8 *ngFor="let output of extractor.outputs" |
dev@431 | 9 (click)="extract(output)"> |
dev@423 | 10 <md-icon md-list-icon>extension</md-icon> |
dev@423 | 11 <h4 md-line>{{output.name}}</h4> |
dev@423 | 12 <p md-line>{{output.combinedKey}}</p> |
dev@432 | 13 <button md-icon-button |
dev@432 | 14 (click)="extract(output); $event.stopPropagation()" |
dev@432 | 15 [disabled]="disabled"> |
dev@423 | 16 <md-icon>add</md-icon> |
dev@423 | 17 </button> |
dev@423 | 18 </md-list-item> |
dev@423 | 19 <md-divider></md-divider> |
dev@423 | 20 </ng-container> |
dev@423 | 21 </md-list> |
dev@100 | 22 </div> |