> For the complete documentation index, see [llms.txt](https://minwork.gitbook.io/long-press-hook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://minwork.gitbook.io/long-press-hook/advanced/hook-result-bind-function/handlers.md).

# Handlers

Handlers are returned from [bind function](/long-press-hook/advanced/hook-result-bind-function.md) in a form of an object which can be spread to react element. Contents of this object depend on [detect option](/long-press-hook/advanced/options/configuration/events-detection.md) value:

## `mouse`

* `onMouseDown`
* `onMouseMove`
* `onMouseUp`
* `onMouseLeave` (only when [cancelOutsideElement](/long-press-hook/advanced/options/cancellation/cancel-outside-element.md) is enabled)

## `touch`

* `onTouchStart`
* `onTouchMove`
* `onTouchEnd`

## `pointer`

* `onPointerDown`
* `onPointerMove`
* `onPointerUp`
* `onPointerLeave` (only when [cancelOutsideElement](/long-press-hook/advanced/options/cancellation/cancel-outside-element.md) is enabled)

\ <br>
