Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #405 from drale2k/master

Added documentation for the "singleTap" event to README
  • Loading branch information...
commit b5b9b41cfb7fc9087b05f712cea49dfa6f954732 2 parents 433df87 + 6133eab
@madrobby madrobby authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 README.md
View
10 README.md
@@ -211,6 +211,16 @@ Tapping:
$('some selector').tap(function(){ ... });
```
+Single Tap:
+
+Only use this instead of "tap" if you're using the "doubleTap" event. It it will give you a 250
+ms buffer to be able to differentiate between a single tap and a double tap. Don't use it if you're not
+using "doubleTap" since it will cause a 250 ms delay, which could lead to a bad user experience.
+
+``` js
+$('some selector').singleTap(function(){ ... });
+```
+
Double-tapping:
``` js
Please sign in to comment.
Something went wrong with that request. Please try again.