This event is fired when the window is minimized via the Minimize button in the top-right side of the title bar is clicked.

The minimize event can be cancelled and in this case the window will not be minimized.

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

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

<div id="window" />

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