Mercurial > hg > ugly-duckling
view 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 |
line wrap: on
line source
<input #open type="file" accept="audio/*" (change)="openAudio($event.target.files)"/> <button md-icon-button (click)="openAudioDialog()"> <md-icon>folder_open</md-icon> </button>