Skip to main content

Events

The plug-in exposes the following custom events:

Event NameHelp
Dropzone File addedDA 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 completedCalled when the upload was either successful or erroneous.
Dropzone max Files exceededDA 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 ProgressDA 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 RegionDA that fires when dragging a file over the Dropzone region (Client-side)
Dropzone File ErrorDA 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