Works with any backend npm install Zero dependencies

Confirmation Dialog Utility

Use the built-in showConfirm dialog for user confirmations.

MultipleUpload.showConfirm(
 'Are you sure?',
 function() { /* confirmed */ },
 function() { /* cancelled */ }
);

A confirmation that matches the rest of the UI

MultipleUpload.showConfirm(message, onConfirm, onCancel) is a static method, so it works without an uploader instance. It exists because the browser's own confirm() is modal, blocks the page thread, cannot be styled, and on mobile looks nothing like the rest of your application.

Both callbacks matter

onConfirm runs when the user accepts and onCancel when they dismiss — and dismissing is the case people forget to handle. If cancelling silently does nothing, the user is left wondering whether the click registered. Give the cancel path something visible, even if that is only closing a panel.