view src/app/app.component.html @ 189:a50feba0d7f0

Share Timeline instance instead of previous event emitting TimelineTimeContext bodge.
author Lucas Thompson <dev@lucas.im>
date Wed, 22 Mar 2017 14:34:43 +0000
parents 8f50e2b220e8
children 5e8a2eb8bdbf
line wrap: on
line source
<md-toolbar color="primary">
  <md-icon svgIcon="duck"></md-icon>

  <span class="app-toolbar-filler"></span>

  <app-playback-control></app-playback-control>
  <ugly-recording-control
    (finishedRecording)="onFileOpened($event)"
  ></ugly-recording-control>

  <!-- 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 (click)="sidenav.toggle()">
    <md-icon>extension</md-icon>
  </button>
</md-toolbar>

<md-sidenav-container>
  <md-sidenav #sidenav align="start" mode="over">
    <app-feature-extraction-menu
      (requestOutput)="extractFeatures($event)"
      [disabled]="!canExtract">
    </app-feature-extraction-menu>
  </md-sidenav>
  <ugly-notebook-feed
    [audioBuffer]="audioBuffer"></ugly-notebook-feed>
  <ugly-progress-spinner [isVisible]="isProcessing"></ugly-progress-spinner>
</md-sidenav-container>