view src/app/analysis-item/analysis-item.component.html @ 308:2cc5e1c39ba5

Use multiple line layers for tracks shape. Currently the highlight layer is disabled; it'll take a bit more work to restore this.
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 12 May 2017 09:48:35 +0100
parents 2d7da410ba46
children d17d5038b11a
line wrap: on
line source
<md-card>
  <md-card-header>
    <md-card-title>{{item.title}}</md-card-title>
    <md-card-subtitle>{{item.description}}</md-card-subtitle>
  </md-card-header>
  <md-card-content>
    <ng-template [ngIf]="isLoading()">
      <ugly-progress-bar
        [isDeterminate]="true"
        [progress]="item.progress"
      ></ugly-progress-bar>
    </ng-template>
    <ng-template [ngIf]="!isLoading()">
      <ugly-waveform
        [timeline]="timeline"
        [trackIdPrefix]=" item.id || item.title"
        [isSubscribedToAudioService]="isActive && item.isRoot"
        [isSubscribedToExtractionService]="isActive && !item.isRoot"
        [isOneShotExtractor]="true"
        [isSeeking]="isActive"
        [width]="contentWidth"
      ></ugly-waveform>
    </ng-template>
  </md-card-content>
</md-card>