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 is about to finish
  }
});
</script>

Example - subscribing to the deactivate event after initialization

<div id="dialog"></div>
<script>
function window_deactivate() {
  // the closing animation is about to start
}
$("#dialog").kendoWindow();
var dialog = $("#dialog").data("kendoWindow");
dialog.bind("deactivate", window_deactivate);
</script>
In this article
Not finding the help you need? Improve this article