Handlers
Handlers are returned from bind function in a form of an object which can be spread to react element. Contents of this object depend on detect option value:
mouse
mouse
onMouseDown
onMouseMove
onMouseUp
onMouseLeave
(only when cancelOutsideElement is enabled)
touch
touch
onTouchStart
onTouchMove
onTouchEnd
pointer
pointer
onPointerDown
onPointerMove
onPointerUp
onPointerLeave
(only when cancelOutsideElement is enabled)
Last updated
Was this helpful?