An open API service indexing awesome lists of open source software.

https://github.com/tmccombs/ng-file-input

Angular2 module for file input and dropping files
https://github.com/tmccombs/ng-file-input

Last synced: 2 months ago
JSON representation

Angular2 module for file input and dropping files

Awesome Lists containing this project

README

          

# ng-file-input
Angular2 module for file input and dropping files.

This provides the following angular 2 components (in the more general sense of the word):
1. `file-input` component: a wrapper around an html file input that fires a events when files are uploaded (with the `File` objects)
2. `fileDrop` directive: A directive that fire events when files are dragged and dropped onto the attached component.
3. `FileFilter` inteface and implementations: A way of specifying the types of files that are acceptable.

See the examples directory for examples of usage.

## More documentation and examples coming.