deactivate

Triggered when a Window has finished its closing animation.

Example - subscribing to the deactivate event during initialization

<div id="dialog"></div>
<script>
$("#dialog").kendoWindow({
  deactivate: function() {
    // the closing animation has finished
  }
});
</script>

Example - subscribing to the deactivate event after initialization

<div id="dialog"></div>
<script>
function window_deactivate() {
  // the closing animation has finished
}
$("#dialog").kendoWindow();
var dialog = $("#dialog").data("kendoWindow");
dialog.bind("deactivate", window_deactivate);
</script>
In this article