Anyone Got An Example On How To Use Spectrum ToolTips

Does anyone have any examples on how to use the Spectrum Tooltips when hovering mouse over a Spectrum Button to be used in UXP Plugin.

I have been trying to get this to work for a few days but seem to have drawn a blank.

Thanks
Ian

1 Like

It is not a ToolTip. This is a bubble. They call it ToolTip but a proper tooltip component would contain some mouseIn/Out logic inside. But in this case, you have to do it yourself.

Ah, that’s where I was getting confused. Maybe the docs should say Bubble like you say to stop any confusion.

Thanks @Jarda

Ian

Reference:

https://opensource.adobe.com/spectrum-web-components/components/tooltip

I don’t see in the docs how to open the tooltip or apply it to a button.