Suppose I have a component html where there is my html my progress bar
<round-progress #progress
[current]="current"
</round-progress>
Current is the percentage value. In my ts component I do:
this.percentageSubscription = this.percentageService.percentage$.subscribe((percentage) => {
this.current = this.current + percentage;
console.log(this.current);
});
The value that I print is correct. It is increase following another algorithm. The console.log show the correct increment but my percentage value is not increase in the progress bar.
Can anyone help me?
{{current}}to your template and see if that value updates. If so, the round-progress component most likely simply only reads the current value once.