The information that you seek is on this page:
Dropzone.js[
^].
When you navigate to the page and it is loaded, use the web browser find function (CTRL-F) and search for "Remove". Step through the results and you will find what you are looking for.
For example:
Quote:
If you want to remove an added file from the dropzone, you can call .removeFile(file). This method also triggers the removedfile event.
And the followinbg sample code:
myDropzone.on("complete", function(file) {
myDropzone.removeFile(file);
});