Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IItemOptions

An options object for creating a menu item.

Hierarchy

Index

Properties

Properties

Optional args

args: ReadonlyJSONObject

The arguments for the command.

The default value is an empty object.

Optional command

command: string

The command to execute when the item is triggered.

The default value is an empty string.

Optional submenu

submenu: Menu | null

The submenu for a 'submenu' type item.

The default value is null.

Optional type

type: ItemType

The type of the menu item.

The default value is 'command'.

Generated using TypeDoc