Search results

CommandMenuSettingsModel API in JavaScript (ES5) Blockeditor API control

Interface for a class CommandMenuSettings

Properties

close

EmitType<CommandMenuCloseEventArgs>

Specifies the event triggered when the command menu closes.

itemClicked

EmitType<CommandItemClickedEventArgs>

Specifies the event triggered when a command item is clicked. This event can be used to perform actions based on user interaction.

open

EmitType<CommandMenuOpenEventArgs>

Specifies the event triggered when the command menu opens.

queryFiltering

EmitType<CommandQueryFilteringEventArgs>

Specifies the event triggered for filtering commands based on the query input.

commands

CommandItemModel[]

Specifies an array of command item models representing the available commands in the menu. This property holds the list of commands that appear in the menu.

popupHeight

string

Specifies the height of the command menu popup. Accepts valid CSS height values such as px, %, auto, etc.

popupWidth

string

Specifies the width of the command menu popup. Accepts valid CSS width values such as px, %, auto, etc.