Edit this page

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) {
        console.log("Loose shaky swipe");
    }
});
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy