Mercurial > hg > ugly-duckling
view src/app/playback-control/playback-control.component.html @ 49:92c139e16b51
Disable button whilst extracting (for now) - quick fix to stop multiple process requests being sent (as they aren't queued / no request-response matching is done / process requests are synchronous)
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Tue, 06 Dec 2016 11:12:56 +0000 |
parents | 6fb6c04878ec |
children | d5256e8309ab |
line wrap: on
line source
<button md-icon-button class="play" (click)="emitPlayPause()"> <md-icon> <template [ngIf]="isPlaying()">pause_circle_outline</template> <template [ngIf]="!isPlaying()">play_circle_outline</template> </md-icon> </button> <span class="seek-controls"> <button md-icon-button (click)="emitFastRewindStart()"><md-icon>skip_previous</md-icon></button> <button md-icon-button (click)="emitFastRewind()"><md-icon>fast_rewind</md-icon></button> <button md-icon-button (click)="emitFastForward()"><md-icon>fast_forward</md-icon></button> <button md-icon-button (click)="emitFastForwardEnd()"><md-icon>skip_next</md-icon></button> </span> <md-slider #volume (slide)="emitVolumeChanged(volume.percent)" (click)="emitVolumeChanged(volume.percent)" value="50"> </md-slider>