view src/app/recording-control/recording-control.component.html @ 205:b638c714bd1d

Implement pinch-zoom manually using touchevents, as HammerJS was preventing scrolling the page. This should also allow for smoother transitioning between gestures - needs testing on a device.
author Lucas Thompson <dev@lucas.im>
date Fri, 24 Mar 2017 15:27:07 +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>