The typical way of using dropzone is by creating a form element with the class dropzone: That's it. Dropzone will find all form elements with the class dropzone, automatically attach itself to it, and upload files dropped into it to the specified action attribute. The uploaded files can be handled just as if there would have been a html input like this: If you want another name than file you can configure dropzone with the option paramName. If you're using component don't forget to require("dropzone"); otherwise it won't be activated.
• Java Script