Tick is a JavaScript plugin that makes visualizing dynamically changing numbers a breeze.
-
runningboolean indicates whether the ticker has been started -
optionsobject all runtime options -
elementobject the element that is used for this ticker -
valueint whatever value you pass in to the ticker -
separatorsarray a list of all separators -
incrementfunction callback used to update @value on every tick
-
incrementalmixed can be either a fixed numeric value that gets added to the base value on each tick or a function that gets called with the current value and must return the updated number -
delayint the time in milliseconds after which the target value is being increased -
separatorsboolean if true, all arbitrary characters inbetween digits are wrapped in seperated elements. if false, these characters are stripped out -
autostartboolean whether or not to start the ticker when instantiated
-
onStart
-
onTick
-
onStop