Mercurial > hg > ugly-duckling
view src/app/audio-file-open/audio-file-open.component.html @ 48:af0b4b05311c
Guard against extraction when no audio is loaded.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Tue, 06 Dec 2016 11:03:38 +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>