> For the complete documentation index, see [llms.txt](https://minwork.gitbook.io/double-tap-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/double-tap-hook/advanced/hook-result-bind-object/handlers.md).

# Handlers

Handlers are returned from [bind object](/double-tap-hook/advanced/hook-result-bind-object.md) which then can be spread to react element as show in [example](/double-tap-hook/basics.md).

* `onClick`

## Why `onClick`?

Because it leverages built in event listener which can also detect mobile tap event.

This way we can get rid of edge cases when combining `onTouchStart onTouchEnd onTouchCancel onTouchMove` events.

Also this approach greatly reduce package size as well as increase speed and flexibility because although this hook was designed for detecting double tap it can also detect double click.
