pin

This event is fired when the window is pinned via the Pin icon on its titlebar.

The pin event can be cancelled.

Event Data
pinned – {true/false} - designates whether window is being pinned or unpinned.

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

<div id="window" />

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