Closed karthick-infinire closed 9 months ago
Try to set [startTime]
to fixed value. If no problem appears, look around appt.remainingTime
updating.
I tried to set [startTime] to a fixed value but it doesn't work. Then I handled the onTick and used the stop() function for this. It worked.
In my application, I am using a two timer Elapsed time: <cd-timer [startTime]="appt.elapsedTime" format="ms"> Remaining time: <cd-timer [countdown]="true" [startTime]="appt.remainingTime" (onTick)="onTimeChange($event, appt)" format="ms">
I am using this in for loop Did anything I missed?