New to Kendo UI for AngularStart a free 30-day trial

Angular InlineAIPrompt Events

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

  • close—Fires when the component closes by clicking outside the popup or by clicking the discard output action.
  • commandExecute—Fires when you click a command from the menu.
  • outputActionClick—Fires when you click an output action button (copy, retry, discard, etc.).
  • promptRequest—Fires when you click the send button or press Enter to submit a prompt.
  • promptRequestCancel—Fires when you cancel the prompt request by clicking the stop button.
  • promptValueChange—Fires when the value of the TextArea changes.

The following example demonstrates all events that the InlineAIPrompt features.

Change Theme
Theme
Loading ...
In this article
Suggested Links
Not finding the help you need?
Contact Support