Mercurial > hg > ugly-duckling
view src/app/audio-file-open/audio-file-open.component.html @ 426:8fee76ab8e90
Take a callback as a prop for performing an action when requesting an output
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Tue, 06 Jun 2017 22:11:59 +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>