How to Update Progress Value in Angular ProgressBar on Button Click?
Description
This article explains how to update the progress value of an Angular ProgressBar when a user clicks a button.
Solution
A ProgressBar visually represents the progression of a task or process. In Angular, you can update the ProgressBar’s value using its value property.
Code Snippet
<button (click)="onClick()" id="reLoad" class="e-control e-btn e-lib e-outline e-primary">Change value</button>
public onClick = () => {
this.progress.value = 60;
}
The following image illustrates the output of the above code.
Conclusion
We hope you enjoyed learning about How to Update Progress Value in Angular ProgressBar on Button Click.
You can refer to our Angular Progressbar feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our Angular Progressbar example to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, BoldDesk Support, or feedback portal. We are always happy to assist you!