Search results

MessageToolbarSettings API in JavaScript (ES5) Chat Ui API control

The MessageToolbarSettings property maps the list of the MessageToolbarSettings and binds the data to the output items.

Properties

items

ToolbarItemModel[]

Specifies the collection of toolbar items in the response toolbar of the Chat UI component. Represents an array of items that are rendered in the toolbar, allowing for customization and interaction within the response section.

Defaults to null

width

string | number

Specifies the width of the response toolbar in the Chat UI component. Represents the width of the toolbar, which can be defined using various CSS units and values such as ‘auto’, ‘100%’, or pixel-based measurements.

Defaults to ‘100%’

Events

itemClicked

EmitType<MessageToolbarItemClickedEventArgs>

Event raised when a toolbar item is clicked in the response toolbar of the Chat UI component.