For the complete documentation index, see llms.txt. This page is also available as Markdown.

timeoutErrorButtonClick

The user pressed the button on the timeout or error screen.

Details

It is emitted when the timeout or error button is pressed.

Event: timeoutErrorButtonClick

Type: FacephiSelphiWidgetCustomEvent<TimeoutButtonClickEvent> | CustomEvent<TimeoutButtonClickEvent>

Syntax

selphi.addEventListener('timeoutErrorButtonClick', onTimeoutErrorButtonClick);

Received object

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.

Description

Useful for retrying or redirecting the user.


Example

Last updated