filter String

jQuery selector that specifies child elements that are touchable if a widget is attached to a container.

Example

<ul id="list">
    <li class="touch">Foo</li>
    <li>Not selected</li>
    <li class="touch">Foo</li>
    <li>Not selected</li>
</ul>

<script>
$("#list").kendoTouch({
    filter: ".touch",
    drag: function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
        console.log("you dragged a list item");
    }
});
</script>
In this article