I am currently working on developing a progress bar that increases by 1% every time the user clicks a button.
This is what my HTML code looks like:
<ion-button *ngFor="let progress of progress" (click)="add(progress)">Progress</ion-button>
<ion-progress-bar value={{progress}} buffer={{buffer}}></ion-progress-bar>
And here is the component file code:
add(progress){
this.progress = progress + 1;
}
Despite not encountering any errors in Logcat, I am struggling to display the button. Can someone point out where I might be going wrong?