Mercurial > hg > ugly-duckling
view src/app/playback-control/playback-control.component.html @ 464:50f61d1945db
Hook up some buttons for navigating history (undo / redo). Some refactoring to allow for the audio player to get updated as a consequence of a state change (the audio related to the current top of the stack is used).
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Fri, 30 Jun 2017 14:01:22 +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>