Function that will be called when the item is triggered.
Optional
checkedIf present the item will be a checkbox item. The value of this property determines if the checkbox is checked or not.
Optional
iconA CSS class name specifying which icon to apply to the item
Optional
idIdentifies the context menu item. See ContextMenu.Identifier for a list of identifiers.
The text label that should be used for the menu item.
Optional
separatorIf the item is a separator, this property will be present and true. If this item is not a separator, this property is undefined.
Describes an item that can be added to an context menu, see ContextMenu.addItem.