Attach FilesJS

a single solution for pasting files, drag-and-drop, and file selection in webapps.

Demo

Drop a file here
Information about the attached file will be shown here
or paste or drag and drop a file or text into this page

Installation


Documentation

Attach Files JS provides three different objects to handle the three different methods of file attachment:


Shorthand methods

For better readibility, some additional methods for the file picker are available:


License

This project is released under MIT license.