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

[enum] anychart.graphics.events.EventTypeImprove this Doc

Constants for event names.
ValueDescriptionExample
clickFires on click on an element.
contextmenuFires on context menu.
dblclickFires on double click on an element.
dragFires on drag.
beforedragFires before drag.
earlycancelFires if drag action was canceled before the START event.
endFires on drag end.
startFires on drag start.
mousedownFires when the mouse is down on an element.
mousemoveFires when mouse is moved on an element.
mouseoutFires when the mouse pointer is out of an element.
mouseoverFires when the mouse pointer is over an element.
mouseupFires when the mouse is up on an element.
tapFires on tap (fast touchstart - touchend).
touchcancelFires when the touch is cancelled. To learn more about working with this event type, see: https://www.w3.org/TR/2011/WD-touch-events-20110505/#the-touchcancel-event
touchendFires on touchend.
touchmoveFires on touchmove.
touchstartFires on touchstart.