> 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/threshold.md).

# Threshold

> *useDoubleTap(callback, **threshold** \[, options]): bindObj*

#### Type

`number`

#### Default value

`300`

#### Description

Amount of milliseconds within which second tap need to occur in order to trigger double tap callback.

<figure><img src="/files/8EJlk250oQWUY5l9xNzP" alt=""><figcaption></figcaption></figure>
