Search results

ToolbarItemClickedEventArgs API in JavaScript Chat Ui API control

Represents the event arguments for a toolbar item click event in the component.

Properties

cancel

boolean

Specifies whether the click event should be cancelled. Determines if the default action associated with the click event should be prevented.

dataIndex

number

Specifies the index of the message data associated with the toolbar item click event. This property is not applicable for header toolbar item click.

event

Event

Specifies the event object associated with the toolbar item click. Represents the underlying event that triggered the click action, providing details about the event.

item

ToolbarItemModel

Specifies the toolbar item that was clicked. Represents the model of the toolbar item that triggered the click event.

name

string

Specifies name of the event.