check? | boolean | For items preceded by checkboxes, indicates if the item is checked. |
description? | string | Tooltip to be shown on the menu item |
isEnabled? | () => null | string | A function that gets called each time an item is shown. Should return null if the item is enabled, otherwise the reason why it's disabled. The reason for being disabled is shown in a tooltip. |
order? | number | Position in the menu |
radioGroup? | string | Identifies a group of items where only one can be checked at a time. |
shortcut? | string | Shortcut to be shown on the item. NOTE: it does not handle the keypress, just shows the shortcut |
visible? | boolean | Whether the menu is visible; if false, the menu is not added. Might be handy in for-loops and fluent API. |