AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated v7 version of this document. Switch to the v8 version to see the up to date information.

{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.
meta*Meta.
subMenuArray.<anychart.ui.ContextMenu.Item>Name for submenu.
targetstringTarget for context menu.
textstringText for the item.