Releases: inorganik/countUp.js
Releases · inorganik/countUp.js
v 1.4.0
- Change class name from "countUp" to "CountUp" (filename is still countUp.js)
- Add pauseResume() method
- Deprecate stop() and resume() methods
- Add update() documentation
- Slight tweak to update()
v 1.3.3
Adds update method to avoid having to re-initialize to count to a new value thanks to @aludvigsen
v1.3.2
Added abillity to count in svg text elements.
v1.3.1
Fixed bug where if endVal = 0, countUp would display ‘—‘
v1.2.0
- Adds prefixes and suffixes (such as "$" and "%") thanks to @marjan-georgiev
- Fixes a bug where start() -> stop() -> resume() -> reset() would reset to the number stopped at. Thanks to @youxiachai for finding this one
v1.1.1
Fixes a bug where an empty separator (“”) specified in the options
object would cause the browser tab to become unresponsive if the endVal
was a 4+ digit number. Special thanks to @sgtmercs for finding this bug
and creating an issue.
v1.1.0 - Globalization
- now accepts an optional options object that allows for globalized number formatting
- you can now optionally set the character of the separator and the decimal
- grouping (ie, 1,000,000 vs 1000000) is now optional
- so many options!
v 1.0.3
Fixed bug that caused start() not to work if reset() was previously called (oops)
v 1.0.2
now allows target to be either an id or var of a previously selected html element