[enum] anychart.graphics.events.EventTypeImprove this Doc
Constants for event names.
Try it:
Value | Description | Example |
---|---|---|
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. |