holdToDrag Boolean
(default: false)
Suitable for touch oriented user interface, in order to avoid collision with the touch scrolling gesture. When set to true
, the item will be activated after the user taps and holds the finger on the element for a short amount of time.
The item will also be activated by pressing, holding and lifting the finger without any movement. Dragging it afterwards will initiate the drag immediately.
Example - Sortable with holdToDrag enabled
<ul id="sortable">
<li>ItemA1</li>
<li>ItemA2</li>
<li>ItemA3</li>
</ul>
<script>
$("#sortable").kendoSortable({
holdToDrag: true
});
</script>