Experimental: The AI extension and its component APIs may change in the future. Please give us feedback on your experience with them.
Events#
| Type | Description | |
|---|---|---|
onConfirm | function | (optional) Called when the user confirms. Receives the Button click event. The application owns the decision and resulting action. The button is disabled when no handler is provided. |
onDecline | function | (optional) Called when the user declines. Receives the Button click event. The application owns the decision and resulting action. The button is disabled when no handler is provided. |