Mercurial > hg > ugly-duckling
view src/app/recording-control/recording-control.component.html @ 367:f967cb22a37a
Clear when updating, not functional difference in this app as it stands because components only receive inputs once atm.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Tue, 30 May 2017 18:19:55 +0100 |
parents | 53ea6406d601 |
children | cf4a17efb5d4 |
line wrap: on
line source
<button md-icon-button (click)="emitToggleRecording()"> <md-icon> <ng-template [ngIf]="recordingStatus == 'enabled'">mic_none</ng-template> <ng-template [ngIf]="recordingStatus == 'disabled'">mic_off</ng-template> <ng-template [ngIf]="recordingStatus == 'recording'">mic_on</ng-template> </md-icon> </button>