Declarative
How to create a Dropzone upload with HTML attributes.
<form action="/file-upload"
class="dropzone"
id="my-awesome-dropzone"></form><input type="file" name="file" />Configuration
Example:
<script>
// Note that the name "myDropzone" is the camelized
// id of the form.
Dropzone.options.myDropzone = {
// Configuration options go here
};
</script>
<form action="/target" class="dropzone" id="my-dropzone"></form>The "auto discover" feature
Last updated