New to Kendo UI for Angular? Start a free 30-day trial

Angular AIPrompt Events

The Kendo UI for Angular AIPrompt emits a number of events which enable you to control its behavior upon user interaction:

  • activeViewChange—Fires when the activeView is updated.
  • commandExecute—Fires each time the user clicks on an executable command in the Command View.
  • outputCopy—Fires when the user clicks an output's Copy button.
  • outputRatingChange—Fires each time the user clicks an output's rating buttons.
  • promptRequest—Fires when the user clicks the Generate button in the Prompt View.

The following example demonstrates all events the AIPrompt features.

Example
View Source
Change Theme:

In this article

Not finding the help you need?