Last active
August 15, 2018 20:55
-
-
Save yoelnacho/ae6c28a860cae39f444fab82777e1887 to your computer and use it in GitHub Desktop.
Material input type=file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container"> | |
<button md-raised-button color="primary" (click)="fileInput.click()">Upload</button> | |
<input hidden type="file" #fileInput> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment