timeoutErrorButtonClick
The user clicked the button in timeout or error.
Last updated
The user clicked the button in timeout or error.
It is emitted when the timeout or error button is pressed.
Event: timeoutErrorButtonClick
Type: FacephiSelphidWidgetCustomEvent<TimeoutButtonClickEvent> | CustomEvent<TimeoutButtonClickEvent>
selphid.addEventListener('timeoutErrorButtonClick', onTimeoutErrorButtonClick);The payload is of type SelphidTimeoutButtonClickDetail and is in event.detail.detail:
eventType (string): Type of emitted event.
message (string): Description of the button action.
Useful for retrying or redirecting the user.
Last updated
<facephi-selphid-widget
onTimeoutErrorButtonClick={onTimeoutErrorButtonClick}
/>