timeoutErrorButtonClick
The user pressed the button on the timeout or error screen.
Last updated
The user pressed the button on the timeout or error screen.
It is emitted when the timeout or error button is pressed.
Event: timeoutErrorButtonClick
Type: FacephiSelphiWidgetCustomEvent<TimeoutButtonClickEvent> | CustomEvent<TimeoutButtonClickEvent>
selphi.addEventListener('timeoutErrorButtonClick', onTimeoutErrorButtonClick);The payload is of type SelphiTimeoutButtonClickDetail 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-selphi-widget
onTimeoutErrorButtonClick={onTimeoutErrorButtonClick}
/>