view src/app/app.component.html @ 93:8f2b2aed0df1

Update cli config to conform to latest version, needed to move around my worker bootstrapping bodge. Angular-cli for some reason now includes global scripts as strings in the webpack bundle, and they are eval'ed. So TypeScript no longer gets compiled. So once again I chase the mouse, re-purposing the new polyfill field to compile and bundle externals.ts once more!
author Lucas Thompson <dev@lucas.im>
date Thu, 23 Feb 2017 22:15:52 +0000
parents f5072712ddf5
children c702b208a527
line wrap: on
line source
<md-toolbar color="primary">
  <md-icon svgIcon="duck"></md-icon>
  <!-- This fills the remaining space of the current row -->
  <span class="app-toolbar-filler"></span>


  <app-audio-file-open (fileOpened)="onFileOpened($event)"></app-audio-file-open>
  <!-- menu opens when trigger button is clicked -->
  <button md-icon-button [md-menu-trigger-for]="menu">
    <md-icon>more_vert</md-icon>
  </button>
  <md-menu x-position="before" #menu="mdMenu">
    <button md-menu-item> Settings</button>
    <button md-menu-item> Help</button>
  </md-menu>
</md-toolbar>

<md-sidenav-container>
  <md-sidenav align="end" mode="side" opened>
    <md-tab-group>
      <md-tab label="Playback">
        <app-playback-control class="playback-content"></app-playback-control>
      </md-tab>
      <md-tab label="Feature Extraction">
        <app-feature-extraction-menu
          (requestOutput)="extractFeatures($event)"
          [disabled]="!canExtract"></app-feature-extraction-menu>
      </md-tab>
    </md-tab-group>
  </md-sidenav>
  <app-waveform
    [audioBuffer]="audioBuffer"
    ></app-waveform>
</md-sidenav-container>