Events
The plug-in exposes the following custom events:
Event Name | Help |
---|---|
Dropzone File added | DA event that fires when a single file was added to the Dropzone Region (Client-side). this.data holds the file element, e.g file.name or file.size |
Dropzone Chunked File Upload Success (AJAX) | DA event that fires when uploading 1 chunk of a file was successful (Server-side) (Upload Mechanism Chunked) this.data holds the server response object |
Dropzone Chunked File Upload Error (AJAX) | DA event that fires when uploading 1 chunk of a file has an error (Server-side) (Upload Mechanism Chunked) this.data holds the server response object |
Dropzone File Upload Success (AJAX) | DA event that fires when uploading a file was successful (Server-side) (Upload Mechanism Normal) this.data holds the server response object |
Dropzone File Upload Error (AJAX) | DA event that fires when uploading a file has an error (Server-side) (Upload Mechanism Normal) this.data holds the server response object |
Dropzone Upload completed | Called when the upload was either successful or erroneous. |
Dropzone max Files exceeded | DA event that fires per file when more files are added to the Dropzone than allowed (Client-side) this.data the file element, e.g file.name or file.size |
Dropzone Total Upload Progress | DA that fires from time to time during upload of all files and returns the total upload progress (Client-side) this.data holds the totalPercentage element |
Dropzone Dragging File over Region | DA that fires when dragging a file over the Dropzone region (Client-side) |
Dropzone File Error | DA that fires when processing a file has an error (Client-side) this.data holds the file element, e.g file.name, file.size or file.errorMessage |