enableSwipe Boolean (default: false)

If set to true, the Touch widget will recognize horizontal swipes and trigger the swipe event.

Notice: if the enableSwipe option is set to true, the dragstart, drag and dragend events will not be triggered.

Example

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

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