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
I have directive which shows tooltip if text is overflowed.
There is a question in the issues can we add v-tooltip directive to DOM element so I will not ask that again,
so I added v-tooltip directive in the template.
But would need to define/change tooltip options in a directive.
Directive has access to DOM element which has _tooltip prop, but changing it's options (for example trigger: 'manual' doesn't affect.
Also directive has access to vnode too.
This discussion was converted from issue #729 on May 28, 2021 12:39.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have directive which shows tooltip if text is overflowed.
There is a question in the issues can we add v-tooltip directive to DOM element so I will not ask that again,
so I added v-tooltip directive in the template.
But would need to define/change tooltip options in a directive.
Directive has access to DOM element which has _tooltip prop, but changing it's options (for example trigger: 'manual' doesn't affect.
Also directive has access to vnode too.
How to change tooltip options from a directive?
Beta Was this translation helpful? Give feedback.
All reactions