Skip to content

Commit

Permalink
Added threshold info for doubletap
Browse files Browse the repository at this point in the history
  • Loading branch information
benmajor authored Feb 1, 2017
1 parent 6844b6b commit 89917f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,11 @@ The value you define is the difference in pixels that the user must move before

``data-ythreshold`` defines the vertical threshold.

**Update as of 1.0.7:**
Following requests from users and contributors, as of 1.0.7 it is now possible to also define the `doubletap` threshold via jQuery's `data-` attributes as follows:

``data-threshold`` defines the amount of time (in milliseconds) after which the `doubletap` event is fired on the target element.

## 7. Utility Functions:

In addition to the numerous additional events that are provided, the library also includes a number of utility functions that can be used to further leverage the power of native events within your website or application. These utility functions can be used for unifying basic events, such as `tapstart` or `mousedown`.
Expand Down

0 comments on commit 89917f0

Please sign in to comment.