maximize

Triggered when the user maximizes the Window. Introduced in 2016.Q1.SP1.

Example - subscribing to the maximize event during initialization

<div id="dialog"></div>
<script>
$("#dialog").kendoWindow({
  actions: ["Maximize"],
  maximize: function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
    console.log("Window was maximized")
  }
});
</script>

Example - subscribing to the maximize event after initialization

<div id="dialog"></div>
<script>
function window_maximize(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
  console.log("Window was maximized")
}
$("#dialog").kendoWindow({ actions: ["Maximize"] });
var dialog = $("#dialog").data("kendoWindow");
dialog.bind("maximize", window_maximize);
</script>
In this article
Not finding the help you need? Improve this article