ghostkit
ghostkit copied to clipboard
Way to add thousands and decimal separator to counter numbers?
Hello, is there a way to add Separators to counter numbers Greets spencer
Hey Spencer.
It is not possible right now. Maybe in future releases, we can somehow improve this code
https://github.com/nk-o/ghostkit/blob/2a438f6c618d375677892684b79ae51ed4fc76e9/src/assets/js/main.js#L255-L337
Maybe its better to go with a library like e.g. https://github.com/inorganik/countUp.js/ or jq plugin https://github.com/garethdn/jquery-numerator MIT Licence should also be ok with commercial gk