Possibility to wrap tooltip around trigger to not have to use for="" #188
patrickvuarnoz
started this conversation in
Ideas
Replies: 1 comment
-
Hi @patrickvuarnoz! I cannot promise anything yet, but it is something we are discussing internally. 😊 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Every time I need to do a tooltip with Web Awesome I stumble over the necessity to use IDs for the elements that trigger the tooltips. This is a bit cumbersome as you need to make sure that the ID is unique in the whole HTML document. I remember a technique that Bootstrap used to avoid having
id=""
andfor=""
for their radio buttons. They simply wrapped the radio button inside the label:Would something similar be possible with Web Awesome for the tooltips, perhaps solving it via a trigger slot?
I would probably want to keep the current option with
id=""
andfor=""
because it gives the developer full flexibility, but some kind of a shorthand would be nice where IDs were not necessary. Maybe you have other/better ideas for that.Beta Was this translation helpful? Give feedback.
All reactions