How can I use it for MenuBar item ?

How can I use it for MenuBar item ?

Hello,

unfortunately that is currently not possible as the MenuItem neither implements HasStyle, nor does it offer the possibility to extend it.

I added an issue for to address the issue: https://gitlab.com/gsedlacz/tooltips4vaadin/-/issues/33

Best Regards

Hello,

The recently released version 2.1.0 enables setting tooltips on all instances of MenuItem that are inside of a SubMenu.

Unfortunately you can not define tooltips on MenuItems that are initially visible as they are part of vaadin-menu-bars shadow DOM.

Best Regards