dragend
Fired when item drag ends.
The dragend
event represents a jQuery mouseup
event and contains all the event data of the jQuery Event Object.
Example - show draggable element on dragend
<div id="draggable"></div>
<script>
$("#draggable").kendoDraggable({
hint: function(element) {
return element.clone();
},
dragstart: function(e) {
e.currentTarget.hide();
},
dragend: function(e) {
e.currentTarget.show();
}
});
</script>
<style>
#draggable {
width: 50px;
height: 50px;
background-color: orange;
border: 2px solid green;
}
</style>
Event Data
e.sender kendo.ui.Draggable
The Draggable instance which fired the event.
e.target Element
The draggable element.