Skip to content

CommandSwitchesController.getMenuCommands method

CommandSwitchesController › getMenuCommands

The context-menu commands the switches list, in registration order.

Signature:

getMenuCommands(): readonly MenuCommandInfo[]

Returns: readonly MenuCommandInfo[] — The commands.