view src/app/recording-control/recording-control.component.html @ 505:cf4a17efb5d4

Update angular deps, fix material api changes. (currently running an earlier TypeScript version due to restrictions from angular)
author Lucas Thompson <dev@lucas.im>
date Thu, 12 Oct 2017 13:12:33 +0100
parents 53ea6406d601
children
line wrap: on
line source
<button mat-icon-button (click)="emitToggleRecording()">
  <mat-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>
  </mat-icon>
</button>