surface jQuery (default: null)

If specified, the user drags will be tracked within the surface boundaries. This option is useful if the widget is instantiated on small DOM elements like buttons, or thin list items.

Example

<ul id="list">
    <li>Foo</li>
    <li>Foo</li>
    <li>Foo</li>
    <li>Foo</li>
</ul>

<script>
$("#list li").kendoTouch({
    surface: $("#list"),
    drag: function(e) {
        console.log("you dragged a list item");
    }
});
</script>
In this article
Not finding the help you need? Improve this article