This repository was archived by the owner on Nov 9, 2024. It is now read-only.
Is there a visible or enabled prop?
#1170
matthew-dean
started this conversation in
General
Replies: 1 comment
|
nuh uh. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Use case - I'm using a Vue component which sets up a Tippy instance. In my data, I have Tippy tooltips which may or may not have content, so a Tippy tooltip may or may not need to be created. However, because this is Vue, I cannot easily opt to not include the directive, and the directive creates Tippy. So, I'm wondering if there's a way to pass a property to Tippy that says "okay, in this instance, do not create / show a tooltip". I was hoping for something like "enabled" or "disabled" or "visible", but i don't see anything like that? Is there another method? Note, I see there is a
disable()andenable()instance method, but I don't see how to set that state on the props themselves?All reactions