collapse

The collapse event is fired when the user collapses a pane.
The collapsed pane index is transmitted as an event argument - event.paneIndex.


<div id="container" style="height: 300px" >
   <div>Pane1</div>
   <div>Pane2</div>
</div>

<script type="text/javascript">

     $(function () {
        $("#container").shieldSplitter({
            collapse: function (event) {
                alert("Pane " + event.paneIndex + " got collapsed.");
            }
        });
     });

</script>