Double tap hook
  • Introduction
  • Installation
  • Basics
  • Advanced
    • Definition
    • Callback
    • Threshold
    • Options
      • Callbacks
        • Single tap
    • Hook result / Bind object
      • Handlers
  • Examples
    • Live demo
      • Version 1
  • Migration
    • Change log
Powered by GitBook
On this page

Was this helpful?

  1. Advanced

Hook result / Bind object

PreviousSingle tapNextHandlers

Last updated 1 year ago

Was this helpful?

useDoubleTap(callback [, threshold] [, options]): bindObj

As a result hook returns object (also referred as bind or binder) containing .

This hook internally use onClick event to detect double tap, so be careful not to override your existing event listener. For more info see .

handlers
handlers
Handlers