Optional
enabled?: booleanIf not provided, the menu is enabled by default. Its enabled state can be updated with the 'update' call.
Optional
hasIf true, a separator will be placed under this menu in the UI.
Optional
hasIf true, a separator will be placed above this menu in the UI.
This ID should be unique and not empty. When the menu gets clicked, the message 'menuItemActivated' with this menuId as data is sent back to the extension.
Optional
subThe children menus of this menu. They can also be parents of other menus.
The display text of the menu.