New to Kendo UI for jQuery? Start a free 30-day trial

MaxYDelta

configuration

The maximum vertical deviation in pixels of the swipe event. Swipes with higher deviation are discarded.

maxYDelta

Number

Default: 20

<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>
Not finding the help you need?
Contact Support