Search results

ToolbarItemClickedEventArgs API in React Blockeditor API component

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

Specifies the toolbar item that was clicked.