view src/app/audio-file-open/audio-file-open.component.html @ 13:b12e78d6185e

Add a component for opening local audio files, unfinished and of course untested. Expect cross-cutting concerns to follow.
author Lucas Thompson <dev@lucas.im>
date Thu, 27 Oct 2016 13:36:09 +0100
parents
children 2ae70581dafd
line wrap: on
line source
<input #open type="file" accept="audio/*" (change)="openAudio($event.srcElement.files)"/>
<button md-icon-button (click)="openAudioDialog()">
    <md-icon>folder_open</md-icon>
</button>