refresh

The refresh() method reloads the current instance of the ProgressBar widget.
The optional parameter options gives the possibility to extend the initial options with the new ones.


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

<script type="text/javascript">

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

</script>