minimized

The minimized method has two modes of operation.
1. If you call it without any arguments, it will return a Boolean value, specifying whether the control is minimized.
2. If you pass a Boolean value to the method, it will apply it to the control and either minimize it or return to normal state.

These are demonstrated in the sample below:

<div id="window" />

<script type="text/javascript">
jQuery(function($) {
    var window = $("#window").shieldWindow({
        title: "Window Title"
    }).swidget();

    //alert whether the control is minimized
    alert(window.minimized());

    //this will minimize the control
    window.minimized(true);

    //alert whether the control is minimized
    alert(window.minimized());
});
</script>