minXDelta Number (default: 30)

The minimum horizontal distance in pixels the user should swipe before the swipe event is triggered.

Example

<div id="touch">
    Swipe me
</div>

<script>
$("#touch").kendoTouch({
    enableSwipe: true,
    minXDelta: 50,
    swipe: function (e) {
        console.log("Long swipe");
    }
});
</script>
In this article
Not finding the help you need? Improve this article