visible

Called without any parameters, the visible() method returns true if the Calendar is currently visible and false otherwise.
Calling it with a boolean true or false parameter will show and hide the Calendar widget.


<div id="calendar" ></div>

<script type="text/javascript">
    $(function () {
        $("#calendar").shieldCalendar({
        });
    });

    $("#calendar").swidget().visible(); // return true
 
    $("#calendar").swidget().visible(false) // hide the widget
 
    $("#calendar").swidget().visible(); // return false

</script>