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 theactiveViewis updated.commandExecute—Fires each time the user clicks on an executable command in the Command View.outputCopy—Fires when the user clicks an output'sCopybutton.outputRatingChange—Fires each time the user clicks an output's rating buttons.promptRequest—Fires when the user clicks theGeneratebutton in the Prompt View.promptRequestCancel—Fires when the user clicks on theStop Generationbutton in the Output view.
The following example demonstrates all events the AIPrompt features.
Change Theme
Theme
Loading ...