maxYDelta Number
(default: 20)
The maximum vertical deviation in pixels of the swipe event. Swipes with higher deviation are discarded.
Example
<div id="touch">
Swipe me
</div>
<script>
$("#touch").kendoTouch({
enableSwipe: true,
maxYDelta: 50,
swipe: function (e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log("Loose shaky swipe");
}
});
</script>