revertDuration

A dictionary containing the animation properties for reverting the drag.

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

<script type="text/javascript">
    jQuery(function ($) {
        $("#div1").shieldDraggable({
            animation: {
                enabled: true,
                revertDuration: 500
            }
            events: {
                stop: function(e) {
                    // cancel the drag
                    e.preventDefault();
                }
            }
        });
    });
</script>