uc-upload-ctx-provider element.
Event Types
Event Payloads
File Events
File events include anOutputFileEntry in the detail:
file-added
Fired when a file is added to the upload collection:file-removed
Fired when a file is removed from the collection:file-upload-start
Fired when an individual file upload starts:file-upload-progress
Fired during individual file upload progress:file-upload-success
Fired when an individual file uploads successfully:file-upload-failed
Fired when an individual file upload fails:Collection Events
Collection events include anOutputCollectionState in the detail:
upload-start
Fired when batch upload starts:upload-progress
Fired during batch upload progress:upload-success
Fired when all files upload successfully:upload-failed
Fired when batch upload fails:UI Events
modal-open
Fired when a modal opens:modal-close
Fired when a modal closes:activity-change
Fired when the current activity changes:done-click
Fired when the “Done” button is clicked:TypeScript Event Handling
For type-safe event handling, use typed event listeners:Complete Example
See Also
- OutputFileEntry - File entry type
- OutputCollectionState - Collection state type
- Events Guide - Detailed event handling guide