Mercurial > hg > ugly-duckling
view 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 |
line wrap: on
line source
<div class="container"> <md-select #extractorSelect placeholder="Extractors"> <md-option *ngFor="let extractor of extractors" [value]="extractor.combinedKey" > {{extractor.name}} </md-option> </md-select> <p> <button md-raised-button color="primary" (click)="extract(getFirstSelectedItemOrEmpty(extractorSelect))" [disabled]="disabled">Extract</button> </p> <p> <button md-raised-button (click)="load()">Load Remote Plugins</button> </p> </div>