almond-bongbong / react-slot-counter

🚀 Elevate Your UI with Dynamic, Eye-Catching Counters
https://almond-bongbong.github.io/react-slot-counter/
112 stars 12 forks source link

Add ability to rotate X number of times through all numbers before completion #12

Open joe-hashflow opened 1 year ago

joe-hashflow commented 1 year ago

As an alternative to slowing down the spin speed via the duration mechanic, force the counter to rotate X number of times (going through all numbers and back to 0) before landing on its final value.

almond-bongbong commented 1 year ago

Thank you for the suggestion.

Currently, we are controlling the speed and duration of the spin using duration and dummyCharacterCount due to implementation complexities. However, we will positively consider adding the feature you've suggested.

AnjulaMadusanka commented 11 months ago

I have the same problem to increase the number of rotations