annotate src/app/audio-file-open/audio-file-open.component.html @ 14:2ae70581dafd

A safer cross browser solution for getting the FileList from the event source.
author Lucas Thompson <dev@lucas.im>
date Thu, 27 Oct 2016 13:40:48 +0100
parents b12e78d6185e
children 0571cf863026
rev   line source
dev@14 1 <input #open type="file" accept="audio/*" (change)="openAudio($event.target.files)"/>
dev@13 2 <button md-icon-button (click)="openAudioDialog()">
dev@13 3 <md-icon>folder_open</md-icon>
dev@13 4 </button>