'dropzone.js to be used as a simple <input type="file" multiple />
What I would like to do, is to use dropzone.js as a drag&drop zone.
I don't want to upload the files, what I would like is to be able to access them and process them with jszip on the browser level (no server scripts, ajax etc.) using vanilla javascript.
I know how to process files from an field, but I would like to combine this with DropZone.js as it is more user friendly (able to add/remove files, see thumbnails etc.)
The documentation is not very clear on the events to use, could someone give me a hand or a guiding direction?
Solution 1:[1]
right, found it.
myDropzone.files
myDropzone.getAcceptedFiles();
From here you can access the files and their details as if it where an html input field.
All info is in the documentation in the end
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
