view src/app/audio-file-open/audio-file-open.component.html @ 19:953932e9ba82

Remove zone injection from app.component and move to where the event is emitted in audio-file-open.component.
author Lucas Thompson <dev@lucas.im>
date Fri, 28 Oct 2016 08:28:54 +0100
parents 0571cf863026
children cf4a17efb5d4
line wrap: on
line source
<input #open type="file" accept="audio/*" (change)="decodeAudio($event.target.files)"/>
<button md-icon-button (click)="openAudioDialog()">
    <md-icon>folder_open</md-icon>
</button>