Search results

PromptToolbarSettings API in React Ai Assistview API component

The promptToolbarSettings property maps the list of the promptToolbarSettings and binds the data to the prompt.

Properties

items

ToolbarItemModel[]

Specifies the collection of toolbar items in the prompt toolbar of the AIAssistView component. Represents the list of items to be displayed in the toolbar.

Defaults to null

width

string | number

Specifies the width of the prompt toolbar in the AIAssistView component. Represents the width of the toolbar, which can be set using a string value such as ‘auto’, ‘100%’, or other CSS width values.

Defaults to ‘100%’

Events

itemClicked

EmitType<ToolbarItemClickedEventArgs>

Event raised when a toolbar item is clicked in the prompt toolbar of the AIAssistView component.