view src/app/audio-file-open/audio-file-open.component.html @ 493:7f9fb84816b9

Introduce a singleton / service for communicating errors / or other notifications (there aren't any yet) - using MdSnackBar internally.
author Lucas Thompson <dev@lucas.im>
date Thu, 06 Jul 2017 19:47:18 +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>