destroy

The destroy() method destroys the instance of the ProgressBar widget.


<div id="progress1"></div>

<script type="text/javascript">

     $(function () {
        $("#progress1").shieldProgressBar({
            value: 30,
            text: {
                enabled: true,
                format: "{0} %"
            }
        });
    
        $("#progress1").swidget().destroy();
    });

</script>