-
Notifications
You must be signed in to change notification settings - Fork 62
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
Add tooltip_trigger similar to tooltip_source but to control if manual or on hover #283
Comments
I realized an hour later that L278 above is wrapped in the
|
That would be a great PR if you'd like to work on it. I'll happily release any such improvements.
I can think of two reasons:
|
Maybe @marimeireles would know better but I suspect that this is following an example from those libraries. |
Problem
Currently, widget.ts#L278 has
trigger: "manual"
Proposed Solution
Change it to
trigger: node.data()["tooltip_trigger"] ? node.data()["tooltip_trigger"] : "manual"
so as to allow the user to control it by setting a node data entry"tooltip_trigger": "mouseenter focus"
for example.The text was updated successfully, but these errors were encountered: