Toast Notifications
Enable or trigger toast messages for upload status updates.
MultipleUpload.showToast('Message', 'success', 3000);
MultipleUpload.showToast('Error', 'error', 5000);
When toasts help, and when they get in the way
showToasts defaults to true, so the built-in toasts are already on unless you turn them off. They are most useful when the uploader is not the focus of the page — a drop target in a sidebar, or a queue the user has scrolled away from — because an error that only appears inside the queue row can go unseen for a long time. When the uploader is the focus, the queue already reports every state, and toasts stacking on top of it is noise. Set showToasts: false and handle on('error') yourself if your application already has its own notification surface.
Calling it directly
MultipleUpload.showToast(message, type, duration) is a static method, so it does not need an uploader instance and can carry your own application messages through the same UI. type selects the styling — 'success', 'error', 'info' — and duration is milliseconds. Internal errors raise a toast for 5000 ms; matching that for your own failures keeps the page consistent.