enabled

The enabled() method, called without any parameters, will return the current enabled state of a Calendar element.
The enabled(bool) method is used to update a Calendar's enabled/disabled state. Passing true will enable and false will disable the element.


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

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

    $("#calendar").swidget().enabled(); // return false
 
    $("#calendar").swidget().enabled(true) // enable the widget
 
    $("#calendar").swidget().enabled(); // return true

</script>