HubSpot/odometer

How do I tell Odometer to just animate the string without truncating or following a format?

FreezePhoenix opened this issue · 1 comments

I need to run multiple odometers with the same theme but different formats. I can't make a manual check, as they are dynamically created. (The other issue is performance, of course, I'll ask about that later in this post). So I have multiple odometers, some of which I want to be percents, and some of which I want to be rounded numbers, and some of which I want to be decimals.

The second issue is performance. I will have on average 28 odometers running (You can check them out here: https://lowlimeoop-1.freezephoenix.repl.co/). This often causes spurts of lag when running on a only slightly outdated machine.

One other complaint: It doesn't continue scrolling even after it's reassigned, especially if to the same value. In this case, it should continue scrolling. In the case where it isn't the same value, it should scroll from where it is instead of where it was headed.