Child items
These are displayed on the right when a user hovers over this item
When set to true this will disable and gray out the item
The name of the icon that will display for the item
Callback invoked when the IContextMenu is built
The item will not show up in the IContextMenu if this returns null. Use this callback to decide when to show the item in the menu, or change components of the option on the fly. For instance, you could disable the item on specific conditions. The callback will have access to some useful data on reviewData like documentId or workspaceId. It will also have access to the full public API.
Callback invoked when the item is clicked
The callback will have access to some useful data on reviewData like documentId or workspaceId. It will also have access to the full public API.
Order in the list of context menu items
Permission check object
The text that will display for the item
Gets back the JQuery Options to be used in the jquery-context-menu build().
Name of the element that triggered the build()
The event data from jquery-context-menu build()
Useful data that will be included for onClick and onBuild of the menu.
The public api that will be included for onClick and onBuild of the menu.
The logger to use when encountering errors when building menus.
The context menu options in a format usable for jquery-context-menu build()
The options for a item in a Context Menu. It encapsulates the jquery-context-menu option.