visible

The visible() method, called without any parameters, will return true if the Menu widget is visible and false otherwise.
The visible(bool) method is used to update a Menu's visible state. Passing true will show and false will hide it.


<ul id="menu1">
    <li>Open</li>
	<li>Save</li>
	<li>Exit</li>
</ul>

<script type="text/javascript">

    $(function () {
        $("#menu1").shieldMenu({
             width: "100px"
        });

        //hide Menu widget
        $("#menu1").swidget().visible(false);
     });

</script>