maxDuration Number (default: 1000)

The maximum amount of time in milliseconds the swipe event can last. Slower swipes are discarded.

Example

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

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