Top
You are looking at an outdated 7.14.3 version of this document. Switch to the 8.0.1 version to see the up to date information.

[enum] anychart.graphics.events.EventType Improve this Doc

Constants for event names.

Try it:

Value Description
click Fires on click on an element.
contextmenu Fires on context menu.
dblclick Fires on double click on an element.
drag Fires on drag.
beforedrag Fires before drag.
earlycancel Fires if drag action was canceled before the START event.
end Fires on drag end.
start Fires on drag start.
mousedown Fires when the mouse is down on an element.
mousemove Fires when mouse is moved on an element.
mouseout Fires when the mouse pointer is out of an element.
mouseover Fires when the mouse pointer is over an element.
mouseup Fires when the mouse is up on an element.
tap Fires on tap (fast touchstart - touchend).
touchcancel Fires 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
touchend Fires on touchend.
touchmove Fires on touchmove.
touchstart Fires on touchstart.