MCPcopy
hub / github.com/dropzone/dropzone / _finished

Method _finished

src/dropzone.js:1662–1676  ·  view source on GitHub ↗
(files, responseText, e)

Source from the content-addressed store, hash-verified

1660 // Called internally when processing is finished.
1661 // Individual callbacks have to be called in the appropriate sections.
1662 _finished(files, responseText, e) {
1663 for (let file of files) {
1664 file.status = Dropzone.SUCCESS;
1665 this.emit("success", file, responseText, e);
1666 this.emit("complete", file);
1667 }
1668 if (this.options.uploadMultiple) {
1669 this.emit("successmultiple", files, responseText, e);
1670 this.emit("completemultiple", files);
1671 }
1672
1673 if (this.options.autoProcessQueue) {
1674 return this.processQueue();
1675 }
1676 }
1677
1678 // Called internally when processing is finished.
1679 // Individual callbacks have to be called in the appropriate sections.

Callers 3

uploadFilesMethod · 0.95
_finishedUploadingMethod · 0.95
test.jsFile · 0.80

Calls 2

processQueueMethod · 0.95
emitMethod · 0.80

Tested by

no test coverage detected