annotate src/app/recording-control/recording-control.component.html @ 196:aa1c92c553cb
A few different @Input flags allowing for using component for just a waveform or features or both, turning off seeking and allowing more than one feature to be extracted to the component. Very messy, desperately needs refactoring.
author |
Lucas Thompson <dev@lucas.im> |
date |
Fri, 24 Mar 2017 11:00:54 +0000 |
parents |
4452f4b9f9a8 |
children |
53ea6406d601 |
rev |
line source |
dev@133
|
1 <button md-icon-button (click)="emitToggleRecording()">
|
dev@133
|
2 <md-icon>
|
dev@133
|
3 <template [ngIf]="recordingStatus == 'enabled'">mic_none</template>
|
dev@133
|
4 <template [ngIf]="recordingStatus == 'disabled'">mic_off</template>
|
dev@133
|
5 <template [ngIf]="recordingStatus == 'recording'">mic_on</template>
|
dev@133
|
6 </md-icon>
|
dev@133
|
7 </button>
|
dev@133
|
8
|