How to use the dropzone.QUEUED function in dropzone

To help you get started, we’ve selected a few dropzone examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github JBEI / edd / typescript / src / GCMS_Workbench.ts View on Github external
.addEventListener("click", (e) => {
                // Make sure that the form isn't actually being sent.
                e.preventDefault();
                e.stopPropagation();
                if (this.files.length === 0) {
                    alert("No input file specified!");
                    return false;
                }
                // reset the upload queue
                for (const file of this.files) {
                    file.status = Dropzone.QUEUED;
                }
                this.processQueue();
            });
    },