This event is fired when the window's Maximize button in the top-right side of the title bar is clicked.

The maximize event can be cancelled and in this case the window will not be maximized.

Event Data
maximized – {true/false} - designates whether window is maximized or returns to normal state.

In this example, we attach to the maximize event and show the event parameter value:

<div id="window" />

<script type="text/javascript">
jQuery(function($) {
        title: "Window Title",
        events: {
            maximize: function(e) {
                  alert('window maximized: ' + e.maximized);