-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Disable all tippy programmatically #117
Comments
Do you have multiple tooltips that are opened at the same time? |
Hi! No, I don't have.. |
So what's the use case? |
I want have tooltips only when some conditions are true. For example screen size is larger than x pixels, to target only computers and tablets and not smartphones (in our app the condition is more complex). |
Currently, no. You're welcome to create a PR |
you can use disable and enable tooltip with run time change detect and sending run time conditions |
I'm submitting a...
Hi, is it possible to disable all the configured tooltips programmatically? I have an application wher I don't want to show any tippy based on some condition decided by a observable stream.
The solution for now is to calculate the required conditions (based on platform, screen size and custom user setting) and add or remove a class to the entire body that hide all .tippy-box child elements, but is there any other way supported by the library?
Thanks
The text was updated successfully, but these errors were encountered: