ghostkit icon indicating copy to clipboard operation
ghostkit copied to clipboard

Way to add thousands and decimal separator to counter numbers?

Open spencer-j opened this issue 4 years ago • 2 comments

Hello, is there a way to add Separators to counter numbers Greets spencer

spencer-j avatar Feb 28 '21 19:02 spencer-j

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

nk-o avatar Mar 02 '21 17:03 nk-o

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

spencer-j avatar Mar 02 '21 22:03 spencer-j