{typedef} anychart.ui.ContextMenu.Item Improve this Doc
Type definition for the context menu item.
| Name | Type | Description |
|---|---|---|
| action | function | Handler for the selection item. |
| classNames | string | Array.<string> | Name for CSS class. |
| enabled | boolean | State of the context menu. |
| eventType | string | Event type. |
| href | string | Link to a webpage. |
| iconClass | string | Name for icon class. |
| index | number | Item index. |
| meta | * | Meta. |
| scrollable | boolean | State of the scrollable. |
| subMenu | Array.<anychart.ui.ContextMenu.Item> | Name for submenu. |
| target | string | Target for context menu. |
| text | string | Text for the item. |
