userCancel
The user canceled the process.
Details
Emitted when the user closes or cancels the widget.
Event: userCancel
Type: FacephiSelphidWidgetCustomEvent<UserCancelEvent> | CustomEvent<UserCancelEvent>
Syntax
selphid.addEventListener('userCancel', onUserCancel);Received object
The useful payload is of type SelphidUserCancelDetail and is in event.detail.detail:
eventType(string): Type of event emitted.message(string): Description of the cancellation.advancedTracking(Uint8Array): Encoded advanced Tracking (optional).
Description
Allows you to respond to voluntary cancellation.
Example
Last updated