You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, is it possible to dynamically update incremental or delay options on already running ticker?
I am currently having an issue that once created counter[0].options does nothing for me after first setup...
Is it possible anyhow?
The text was updated successfully, but these errors were encountered:
In case someone needs it, you just need to tweak tick.js a bit...
In order to dynamically change increment, modify Tick.prototype.build_increment_callback function that in number type instead of val + value; you make it like the following:
} else if (typeof option === 'number') {
return function(val) {
return val + this.options.incremental;
};
}
@novovic , Hi I'm new here, and I've added the the version of your improvised code, but I still cannot have the random incremental effect. Any help would be much appreciated!
Hi, is it possible to dynamically update incremental or delay options on already running ticker?
I am currently having an issue that once created counter[0].options does nothing for me after first setup...
Is it possible anyhow?
The text was updated successfully, but these errors were encountered: