Search results

ToolbarItemClickedEventArgs API in JavaScript (ES5) Blockeditor API control

This event is triggered when a toolbar item is clicked.

Properties

cancel

boolean

Specifies whether the event should be canceled. true to prevent the click action.

event

Event

Specifies the native browser event associated with the toolbar item click.

isInteracted

boolean

Specifies whether the click was made by the user (true) or programmatically (false).

item

ToolbarItemModel | null

Specifies the toolbar item that was clicked.