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

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

Constants for event names.

Try it:

Name Value Description
CLICK click Fires on click on an element.
CONTEXTMENU contextmenu Fires on context menu.
DBLCLICK dblclick Fires on double click on an element.
DRAG drag Fires on drag.
DRAG_BEFORE beforedrag Fires before drag.
DRAG_EARLY_CANCEL earlycancel Fires if drag action was canceled before the START event.
DRAG_END end Fires on drag end.
DRAG_START start Fires on drag start.
MOUSEDOWN mousedown Fires when the mouse is down on an element.
MOUSEMOVE mousemove Fires when mouse is moved on an element.
MOUSEOUT mouseout Fires when the mouse pointer is out of an element.
MOUSEOVER mouseover Fires when the mouse pointer is over an element.
MOUSEUP mouseup Fires when the mouse is up on an element.
TAP tap Fires on tap (fast touchstart - touchend).
TOUCHCANCEL 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 touchend Fires on touchend.
TOUCHMOVE touchmove Fires on touchmove.
TOUCHSTART touchstart Fires on touchstart.