enabled

When called with one argument, enabled(bool) method will enable or disable dragging for a Draggable element.

Calling it with no arguments will return the enabled state - i.e. whether the dragging is turned on or off for that element.

<div id="div1">Hello DIV!</div>

<script type="text/javascript">
    jQuery(function ($) {
        $('#div1').shieldDraggable();

        // disable dragging
        $("#div1").swidget("Draggable").enabled(false);
    });
</script>