.removeFile(file)
. This method also triggers the removedfile
event..removeAllFiles()
. Files that are in the process of being uploaded won’t be removed. If you want files that are currently uploading to be canceled, call .removeAllFiles(true)
which will cancel the uploads.autoProcessQueue
disabled, you’ll need to call .processQueue()
yourself.myDropzone.files
..getAcceptedFiles()
.getRejectedFiles()
.getQueuedFiles()
.getUploadingFiles()
.disable()
on the object. This will remove all event listeners on the element, and clear all file arrays. To reenable a Dropzone use .enable()
.confirm
calls, you can handle them yourself by overwriting Dropzone.confirm
.