annotate src/app/feature-extraction-menu/feature-extraction-menu.component.html @ 269:077b57d64bbd

Helper method for accessing current item from MdSelect
author Lucas Thompson <dev@lucas.im>
date Tue, 02 May 2017 15:16:44 +0100
parents 51803e9a42ca
children 4387175f594b
rev   line source
dev@100 1 <div class="container">
dev@100 2 <md-select #extractorSelect
dev@100 3 placeholder="Extractors">
dev@100 4 <md-option
dev@100 5 *ngFor="let extractor of extractors"
dev@100 6 [value]="extractor.combinedKey"
dev@100 7 >
dev@100 8 {{extractor.name}}
dev@100 9 </md-option>
dev@100 10 </md-select>
dev@100 11 <p>
dev@100 12 <button md-raised-button
dev@100 13 color="primary"
dev@269 14 (click)="extract(getFirstSelectedItemOrEmpty(extractorSelect))"
dev@100 15 [disabled]="disabled">Extract</button>
dev@100 16 </p>
dev@100 17 <p>
dev@100 18 <button md-raised-button
dev@238 19 (click)="load()">Load Remote Plugins</button>
dev@100 20 </p>
dev@100 21 </div>