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>
In this article
Not finding the help you need? Improve this article