Mercurial > hg > ugly-duckling
view src/app/recording-control/recording-control.component.html @ 192:e4f38975c2bc
Introduce interface for reading a file, once again avoiding specific browser implementation.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Thu, 23 Mar 2017 15:42:34 +0000 |
parents | 4452f4b9f9a8 |
children | 53ea6406d601 |
line wrap: on
line source
<button md-icon-button (click)="emitToggleRecording()"> <md-icon> <template [ngIf]="recordingStatus == 'enabled'">mic_none</template> <template [ngIf]="recordingStatus == 'disabled'">mic_off</template> <template [ngIf]="recordingStatus == 'recording'">mic_on</template> </md-icon> </button>