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
onMouseDown
onMouseMove
onMouseUp
onMouseLeave (only when cancelOutsideElement is enabled)
onMouseLeave
touch
onTouchStart
onTouchMove
onTouchEnd
pointer
onPointerDown
onPointerMove
onPointerUp
onPointerLeave (only when cancelOutsideElement is enabled)
onPointerLeave
Last updated 2 years ago