Mercurial > hg > ugly-duckling
view src/app/audio-file-open/audio-file-open.component.html @ 192:e4f38975c2bc
Introduce interface for reading a file, once again avoiding specific browser implementation.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Thu, 23 Mar 2017 15:42:34 +0000 |
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>