userCancel
The user canceled the process.
Last updated
The user canceled the process.
It is emitted when the user closes or cancels the Widget.
Event: userCancel
Type: FacephiSelphiWidgetCustomEvent<UserCancelEvent> | CustomEvent<UserCancelEvent>
selphi.addEventListener('userCancel', onUserCancel);The useful payload is of type SelphiUserCancelDetail 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-selphi-widget
onUserCancel={onUserCancel}
/>