Skip to content

CommandHandlerComponent.getMenuCommands method

CommandHandlerComponent › getMenuCommands

The context-menu commands registered through this component and still registered, in registration order.

What the command switches list a show/hide row for. A command registered twice under one id is listed once.

Signature:

getMenuCommands(): readonly MenuCommandInfo[]

Returns: readonly MenuCommandInfo[] — The menu commands.