view src/app/playback-control/playback-control.component.html @ 493:7f9fb84816b9

Introduce a singleton / service for communicating errors / or other notifications (there aren't any yet) - using MdSnackBar internally.
author Lucas Thompson <dev@lucas.im>
date Thu, 06 Jul 2017 19:47:18 +0100
parents cc8a1e08dd2d
children cf4a17efb5d4
line wrap: on
line source
<button md-icon-button (click)="emitFastRewindStart()">
  <md-icon>skip_previous</md-icon>
</button>
<button md-icon-button (click)="emitPlayPause()">
  <md-icon>
    <ng-template [ngIf]="isPlaying()">pause</ng-template>
    <ng-template [ngIf]="!isPlaying()">play_arrow</ng-template>
  </md-icon>
</button>