annotate src/app/feature-extraction-menu/feature-extraction-menu.component.html @ 465:caef9a302bec

Add methods for mutating the current state without updating the history (naming might not be that declarative).
author Lucas Thompson <dev@lucas.im>
date Fri, 30 Jun 2017 14:49:40 +0100
parents 55e17af8a0ee
children cf4a17efb5d4
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@441 10 <md-icon md-list-icon>{{getFeatureIconName(output)}}</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@433 22 <md-spinner *ngIf="isLoading"></md-spinner>
dev@433 23 <button
dev@433 24 md-button
dev@433 25 (click)="load()"
dev@434 26 [disabled]="isLoading"
dev@437 27 >Load more</button>
dev@100 28 </div>