expand

The expand event is fired when menu item expands.
It has two parameters:

  • element - represents the list item.
  • item - represents the data item.

<script type="text/javascript">

     $(function () {
        $("#menu1").shieldMenu({
            events: {
                 expand: function (event) {
                     alert("Menu item got expanded.");
                 }
             }
        });
     });

</script>