OutputActions
configurationAn array of action configurations for the output cards. Can contain strings for built-in actions or objects with custom action properties.
Built-in actions:
"copy"- Copy output content to clipboard"retry"- Retry generating the output"rating"- Expands to both positive and negative rating buttons"ratingPositive"- Renders the positive rating button"ratingNegative"- Renders the negative rating button"spacer"- Adds spacing between action buttons
Custom actions trigger the outputAction event with the action command and output data.
outputActions
ArrayDefault: ["copy", "retry"]
outputActions.command
StringThe command identifier for the action. This is used to identify the action when the outputAction event is triggered.
outputActions.fillMode
StringSpecifies the fill mode of the action button. Available options: "solid", "outline", "flat", "none".
outputActions.icon
StringThe icon name for the action button. Uses Kendo UI icon names.
outputActions.rounded
StringSpecifies the border radius of the action button. Available options: "small", "medium", "large", "full", "none".
outputActions.text
StringThe text displayed on the action button.
outputActions.themeColor
StringSpecifies the theme color of the action button. Available options: "base", "primary", "secondary", "tertiary", "success", "warning", "error", "info", "inverse".
outputActions.title
StringSpecifies the title attribute (tooltip) for the action button.
outputActions.type
StringSpecifies the type of the action. Available options: "button", "spacer". Default is "button".