Closed rzlnhd closed 2 years ago
Here is the Testing Page.
@rzlnhd What an amazing job! I will inspect the code tomorrow and make sure everything is up to par. I really appreciate the effort put in mate! :)
Sure... But, I think i forget to add the repeat
test on the Test page...
Hi sir. Recently I saw some issue and edit the code. Here is my work.
new PureCounter()
(Just like making new Object/Class). ThePureCounter
class accept configuration as an Object for the parameter.data-purecounter-repeat
orrepeat
. The repeat configuration just acceptboolean:false
ornumber
.convertToCurrencySystem
method to add this feature, because it's same method. CheckconvertNumber
function for more details. Setfilesizing
ordata-purecounter-filesizing
totrue
to activate this config.separator
andseparatorsymbol
now changes to justseparator
that can accept boolean|char|string. If the value is char|string, that config will automaticaly active and use that value assymbol
. If the value is'true'
, use comma,
by default.currency
andcurrencysymbol
now changes to justcurrency
that can accept boolean|char|string. If the value is char|string, that config will automatically active and use that value as currencysymbol
.repeat
config can accept boolean (only false) or number as seconds.umd
type Library. I didn't test the result yet.I've check the vanilla and non-vanilla build and all works pretty good. Well, by add some feature it also increasing the size. But the size for vanilla build is still bellow 5kb.
By the way, sorry for my bad English.😅 Hope you like it.