AnyChart
API Reference
Still have questions?
Contact support
Top

{typedef} anychart.ui.ContextMenu.Item Improve this Doc

Type definition for the context menu item.
NameTypeDescription
actionfunctionHandler for the selection item.
classNamesstring | Array.<string>Name for CSS class.
enabledbooleanState of the context menu.
eventTypestringEvent type.
hrefstringLink to a webpage.
iconClassstringName for icon class.
indexnumberItem index.
meta*Meta.
scrollablebooleanState of the scrollable.
subMenuArray.<anychart.ui.ContextMenu.Item>Name for submenu.
targetstringTarget for context menu.
textstringText for the item.