DevExtreme Angular - Overview
The ProgressBar is a widget that shows current progress.
The following code adds a simple ProgressBar to your page. The value option specifies the current value. The min and max options limit the range of accepted values. The progress is measured in percentages and calculated by the following formula: (value / max) * 100
. If the current progress is unknown yet, set the value option to false.
<div id="progressBarContainer"></div>
$(function(){ $("#progressBarContainer").dxProgressBar({ min: 0, max: 100, value: 49 }); });
When the ProgressBar reaches the maximum value, the complete event is raised. You can handle it using the onComplete function.
$(function() { $("#progressBarContainer").dxProgressBar({ min: 0, max: 100, value: 49, onComplete: function() { DevExpress.ui.dialog.alert("Completed"); } }); });
See Also
- Configure a Widget: Angular | Vue | React | jQuery | AngularJS | Knockout | ASP.NET MVC 5 | ASP.NET Core
- ProgressBar - Progress Status
- ProgressBar - Handle the Value Change Event
- ProgressBar API Reference
If you have technical questions, please create a support ticket in the DevExpress Support Center.