Skip to content

Commit 89917f0

Browse files
authored
Added threshold info for doubletap
1 parent 6844b6b commit 89917f0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,11 @@ The value you define is the difference in pixels that the user must move before
246246

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

249+
**Update as of 1.0.7:**
250+
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:
251+
252+
``data-threshold`` defines the amount of time (in milliseconds) after which the `doubletap` event is fired on the target element.
253+
249254
## 7. Utility Functions:
250255

251256
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`.

0 commit comments

Comments
 (0)