minimize
Triggered when the user minimizes the Window. Introduced in 2016.Q1.SP1.
Example - subscribing to the minimize event during initialization
<div id="dialog"></div>
<script>
$("#dialog").kendoWindow({
actions: ["Minimize"],
minimize: function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log("Window was minimized")
}
});
</script>
Example - subscribing to the minimize event after initialization
<div id="dialog"></div>
<script>
function window_minimize(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log("Window was minimized")
}
$("#dialog").kendoWindow({ actions: ["Minimize"] });
var dialog = $("#dialog").data("kendoWindow");
dialog.bind("minimize", window_minimize);
</script>