Tiny footprint
With zero dependencies and code written with the last bit in mind the library weighs only ~4 KB minified
New Add a CSS class to the element when the files are being dropped!
With zero dependencies and code written with the last bit in mind the library weighs only ~4 KB minified
Built for the enterprise, flexibility was a must.
Some of the available options are
Being MIT Licensed, 100% Tested, semantically versioned, fully accesible and used in a heavy load monitored production environment, you can trust the library to work in any environment.
$ npm install droppable
const Droppable = require('droppable');
const droppable = new Droppable({
element: document.querySelector('#my-droppable-element')
})
droppable.onFilesDropped((files) => {
console.log('Files were dropped:', files);
});
// Clean up when you're done!
droppable.destroy();