resize

The resize method resizes the window widget to a given width and height.

Parameter Data
It has one parameter which is an object with width and height properties.

This is demonstrated in the sample below:

<div id="window" />

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

    //this will resize the window
    window.resize({ width: 500, height: 400 });
});
</script>