• Introduction
  • Getting Started
  • Vue 2 End of Support
  • Vue Wrappers End of Life
  • Native Components
    • Animation
    • Buttons
    • Chartsupdated
    • Conversational UI
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gauges
    • Grid
    • Icons
    • Indicators
    • Inputsupdated
    • Labels
    • Layout
    • 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.