bfintal / Counter-Up

Counter-Up is a lightweight jQuery plugin that counts up to a targeted number when the number becomes visible.
http://bfintal.github.io/Counter-Up/demo/demo.html
GNU General Public License v2.0
746 stars 722 forks source link

Add data-count attribute #37

Open hackoh opened 7 years ago

hackoh commented 7 years ago

I'm worried about that visitors see max-value when before domready. This fix allows to set count value by data-count attribute. Then markup allows to set 0 in innerHTML.