ng-file-input
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

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.

Package Sidebar

Install

npm i ng-file-input

Weekly Downloads

8

Version

0.2.0

License

ISC

Last publish

Collaborators

  • tmccombs