-
-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updateOptions - tooltips can't be set to a single formatter #1140
Comments
Could you add an example? The following works as expected:
|
right you are - I think i'd done something strange when I was hacking around. Love the library btw. |
Ok good - Glad you find it useful :) |
I know what it was - I tried to update a tooltip with just a {'to': ...} as a formatter. Since I figured tooltips didn't need a {'from': ...}. The following code breaks with the error: var format = { to: ... };
noUiSlider.create(slider, {
start: [20, 80],
range: { 'min': 0, 'max': 100 }
});
slider.noUiSlider.updateOptions({ tooltips: format }); But the code would have worked fine if i'd passed in the same formatter like |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
extension of issue #1101 I think.
The text was updated successfully, but these errors were encountered: