• Introduction
  • Getting Started
  • Vue 2 End of Support
  • Native Components
    • Animation
    • Buttons
    • Chartsupdated
    • Conversational UInew
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gauges
    • Grid
    • Icons
    • Indicators
    • Inputs
    • Labels
    • Layoutupdated
    • ListBox
    • ListView
    • Notification
    • PDF Processing
    • Popup
    • Progress Bars
    • Scheduler
    • ScrollView
    • Tooltip
    • TreeList
    • TreeView
    • Upload
  • Wrapper Components
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • FAQ
  • Troubleshooting
New to Kendo UI for Vue? Start a free 30-day trial

AIPromptProps

The props of the AIPrompt component.

NameTypeDefaultDescription

activeView

string

Name of the active view.

dir?

string

The direction of the Prompt.

onActiveviewchange?

(name: string) => void

The onActiveViewChange event handler of the Kendo UI for Vue AIPrompt component. Fires when active view is changed. Exposes the name of the new active view as event data.

onCommandexecute?

(command: AIPromptCommandInterface) => void

The onCommandExecute event handler of the Kendo UI for Vue AIPrompt component. Fires each time the user clicks a command in the Command view. Exposes the selected command as event data.

onPromptrequest?

(prompt?: string, outputItem?: AIPromptOutputInterface) => void

The onPromptRequest event handler of the Kendo UI for Vue AIPrompt component. Fires when user clicks the Generate button in the Prompt view.

outputs?

AIPromptOutputInterface[]

The collection of generated prompt outputs that will be rendered in the Output view.

promptPlaceholder?

string

The placeholder text for the Prompt view textarea.

toolbarItems?

AIPromptToolbarItemInterface[]

Collection with items that will override the default Toolbar items.