Works with any backend npm install Zero dependencies

Public API Methods

Exercise upload(), pause(), resume(), cancel(), reset(), and other control methods.

uploader.upload(); // Start pending uploads
uploader.pause(); // Pause all
uploader.resume(); // Resume all
uploader.cancel(); // Cancel all
uploader.retry(); // Retry failed
uploader.reset(); // Clear everything
uploader.browse(); // Open file dialog
uploader.disable(); // Disable UI
uploader.enable(); // Re-enable UI

Driving the uploader from your own UI

The instance exposes the actions the built-in controls use: browse() opens the file dialog, upload() starts a manual queue, pause() and resume(), cancel(), retry(), disable() and enable(), and reset() to clear everything. That is what makes a fully custom interface possible without touching the component's markup.

Reaching the instance later

You do not have to hold the reference. MultipleUpload.getInstance(idOrSelector) returns the uploader bound to a container, so a toolbar rendered elsewhere can drive an uploader it never constructed.