uploadWidgetLoaded
The widget has finished loading and is ready to use.
Details
It is emitted when the component finishes initializing.
Event: uploadWidgetLoaded
Type: FacephiFileUploaderWidgetCustomEvent<UploadWidgetLoadedDetail> | CustomEvent<UploadWidgetLoadedDetail>
Syntax
uploader.addEventListener('uploadWidgetLoaded', onUploadWidgetLoaded);Received object
The payload is of type UploadWidgetLoadedDetail and is in event.detail:
eventType(string): Type of emitted event.widgetConfiguration(object): Effective widget configuration.maxFiles(number): Maximum number of allowed files.maxFileSize(number): Maximum size per file in bytes.
Description
Indicates that the widget is ready. Useful for hiding loading screens or executing logic dependent on mounting.
Example
Last updated