You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<desc>Triggered when a horizontal drag of 30px or more (and less than 75px vertically) occurs within 1 second duration.</desc>
4
+
<desc>Triggered when a horizontal drag of 30px or more (and less than 30px vertically) occurs within 1 second duration.</desc>
5
5
<longdesc>
6
-
<p>Triggered when a horizontal drag of 30px or more (and less than 75px vertically) occurs within 1 second duration but these can be configured:
6
+
<p>Triggered when a horizontal drag of 30px or more (and less than 30px vertically) occurs within 1 second duration but these can be configured:
7
7
<ul>
8
8
<li><code>$.event.special.swipe.scrollSupressionThreshold</code> (default: 10px) – More than this horizontal displacement, and we will suppress scrolling.</li>
9
9
<li><code>$.event.special.swipe.durationThreshold</code> (default: 1000ms) – More time than this, and it isn't a swipe.</li>
10
10
<li><code>$.event.special.swipe.horizontalDistanceThreshold</code> (default: 30px) – Swipe horizontal displacement must be more than this.</li>
11
-
<li><code>$.event.special.swipe.verticalDistanceThreshold</code> (default: 75px) – Swipe vertical displacement must be less than this.</li>
11
+
<li><code>$.event.special.swipe.verticalDistanceThreshold</code> (default: 30px) – Swipe vertical displacement must be less than this.</li>
12
12
</ul>
13
13
</p>
14
14
<p>The swipe event can also be extend to add your own logic or functionality. The following methods can be extended:</p>
Copy file name to clipboardExpand all lines: entries/swipeleft.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
<title>swipeleft</title>
4
4
<desc>Triggered when a swipe event occurs moving in the left direction.</desc>
5
5
<longdesc>
6
-
<p>Triggered when a horizontal drag of 30px or more (and less than 75px vertically) occurs within 1 second duration in the left direction. See <ahref="../swipe/">the swipe event entry</a> for more detailed information on the swipe event.</p>
6
+
<p>Triggered when a horizontal drag of 30px or more (and less than 30px vertically) occurs within 1 second duration in the left direction. See <ahref="../swipe/">the swipe event entry</a> for more detailed information on the swipe event.</p>
Copy file name to clipboardExpand all lines: entries/swiperight.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
<title>swiperight</title>
4
4
<desc>Triggered when a swipe event occurs moving in the right direction.</desc>
5
5
<longdesc>
6
-
<p>Triggered when a horizontal drag of 30px or more (and less than 75px vertically) occurs within 1 second duration in the right direction. See <ahref="../swipe/">the swipe event entry</a> for more detailed information on the swipe event.</p>
6
+
<p>Triggered when a horizontal drag of 30px or more (and less than 30px vertically) occurs within 1 second duration in the right direction. See <ahref="../swipe/">the swipe event entry</a> for more detailed information on the swipe event.</p>
0 commit comments