Closed dpinn closed 3 years ago
It might be time, but not trivial to implement :-)
There are two problems to solve compared to how Google does it:
document.querySelector([aria-describedby="${tooltipId}"])
. We can't use that. Simply passing in the domId of the element could do, or we go to JavaScript.Then we have the problems related to Elm:
If you feel adventurous you can try it my branch. I'm not sure this is the final implementation, but I feel pretty good about this solution.
This has now been added.
Tooltips are now implemented in Material Components Web. Is it time?