dragend
Fires when the dragging of the item ends but before its position is changed in the DOM.
Event Data
e.items Array
The item elements that are to be dragged.
e.dataItems Array
The data items that are to be dragged.
e.draggableEvent Object
The original drag
event data of draggable
.
Example
<select id="listBox">
<option>Orange</option>
<option>Apple</option>
<option>Banana</option>
<option>Peach</option>
</select>
<script>
$("#listBox").kendoListBox({
draggable: true,
dragend: function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(e.items);
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(e.dataItems);
}
});
</script>