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 theactiveView
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'sCopy
button.outputRatingChange
—Fires each time the user clicks an output's rating buttons.promptRequest
—Fires when the user clicks theGenerate
button in the Prompt View.
The following example demonstrates all events the AIPrompt features.
Change Theme
Theme
Loading ...