Angular2 module for file input and dropping files.
This provides the following angular 2 components (in the more general sense of the word):
-
file-input
component: a wrapper around an html file input that fires a events when files are uploaded (with theFile
objects) -
fileDrop
directive: A directive that fire events when files are dragged and dropped onto the attached component. -
FileFilter
inteface and implementations: A way of specifying the types of files that are acceptable.
See the examples directory for examples of usage.