view src/app/feature-extraction-menu/feature-extraction-menu.component.html @ 100:bf8826d4e2c6

Use @angular/material select component.
author Lucas Thompson <dev@lucas.im>
date Thu, 02 Mar 2017 15:06:24 +0000
parents 0980eb001bde
children 53ea6406d601
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(extractorSelect.selected.value)"
            [disabled]="disabled">Extract</button>
  </p>
  <p>
    <button md-raised-button
            (click)="load()">Load Remote Plugins</button>
  </p>
</div>