dragstart

Triggered when the user starts to move the Window.

Example - subscribing to the dragstart event during initialization

<div id="dialog"></div>
<script>
$("#dialog").kendoWindow({
  dragstart: function() {
    // the user has started dragging the Window
  }
});
</script>

Example - subscribing to the dragstart event after initialization

<div id="dialog"></div>
<script>
function window_dragstart() {
  // the user has started dragging the Window
}
$("#dialog").kendoWindow();
var dialog = $("#dialog").data("kendoWindow");
dialog.bind("dragstart", window_dragstart);
</script>
In this article
Not finding the help you need? Improve this article