For the complete documentation index, see llms.txt. This page is also available as Markdown.

uploadUserCancel

The user cancelled the upload by closing the widget.

Details

It is emitted when the user closes the widget by clicking the exit icon.

Event: uploadUserCancel

Type: FacephiFileUploaderWidgetCustomEvent<UploadUserCancelDetail> | CustomEvent<UploadUserCancelDetail>

Syntax

uploader.addEventListener('uploadUserCancel', onUploadUserCancel);

Received object

The useful payload is of type UploadUserCancelDetail and is in event.detail:

  • eventType (string): Type of event emitted.

  • message (string): Cancellation description.

Description

Allows you to react when the user leaves the manual upload Flow.


Example

Last updated