bounty icon indicating copy to clipboard operation
bounty copied to clipboard

Text Support

Open eqaderi opened this issue 9 years ago • 7 comments

Hi,

This is a really nice job, I've been using odometer.js util now but I switched to this one, I have a request and I think lots of people will appreciate it if you fulfill it and that is to include text support too, I mean the odometer effect for texts too like from "000000" to "100 thousand +"

eqaderi avatar Aug 28 '16 12:08 eqaderi

Thanks for the good idea. I will take that into consideration. Unfortunately this is not as easy as I'd like (referring to this issue #17). In the near future I will try to experiment with this on a separate branch.

coderitual avatar Aug 28 '16 18:08 coderitual

That'ed be awesome, I can't wait to see that effect in action

eqaderi avatar Aug 28 '16 18:08 eqaderi

Hi, I have just started to work on that feature. Right now you can preview it here: http://codepen.io/coderitual/full/QKezVb/

coderitual avatar Nov 01 '16 21:11 coderitual

WOW! That's just awesome!! Good job and Thanks a lot. when would it be ready to use?

eqaderi avatar Nov 01 '16 22:11 eqaderi

Even though it doesn't support [space] and charaters like [+], I wrote: "+2 thousand" and it shows "y2ythousand"

eqaderi avatar Nov 01 '16 22:11 eqaderi

And there is another limit; if the second word is shorter that the first one, the first one will not show completely. for instance: if we transit form "Washington" to "London" it only shows "Washin"! the letters are equal to London! 6 letters.

eqaderi avatar Nov 01 '16 23:11 eqaderi

Yep, I am aware of that issues and will try to address them all.

coderitual avatar Nov 02 '16 05:11 coderitual