@progress/kendo-angular-conversational-ui
Version:
Kendo UI for Angular Conversational UI components
25 lines (24 loc) • 885 B
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { AIPromptComponent } from "../aiprompt.component";
import { PromptCommand } from "./command.interface";
/**
* Arguments for the `commandExecute` event of the AIPrompt.
* ([see example]({% slug events_aiprompt %})).
*/
export interface CommandExecuteEvent {
/**
* The selected command.
*/
command: PromptCommand;
/**
* The AIPrompt component instance.
*/
sender: AIPromptComponent;
/**
* Specifies if the event is triggered by the Retry button.
*/
isRetry: boolean;
}