userCancel
The user cancelled the process.
Last updated
The user cancelled the process.
It is emitted when the user closes or cancels the Widget.
Event: userCancel
Type: FacephiSelphidWidgetCustomEvent<UserCancelEvent> | CustomEvent<UserCancelEvent>
selphid.addEventListener('userCancel', onUserCancel);The useful payload is of type SelphidUserCancelDetail and is in event.detail.detail:
eventType (string): Type of event emitted.
message (string): Cancellation description.
advancedTracking (Uint8Array): Encoded advanced Tracking (optional).
Allows reacting to voluntary cancellation.
Last updated
<facephi-selphid-widget
onUserCancel={onUserCancel}
/>