我需要向用户展示鼠标在事件上的不同工具提示。我们在Vaadin组件库中有类似的东西吗?如果不是,如何在Vaadin23中显示工具提示?
发布于 2022-08-17 22:03:53
有一个关于工具提示https://vaadin.com/directory-beta/addon/tooltip的注释
还有正在进行的将工具提示添加到核心框架的工作,您可以在这里继续讨论https://github.com/orgs/vaadin/discussions/3196
发布于 2022-08-17 23:16:48
您还可以使用任意组件的根元素,然后设置属性:
Button button = new Button("Example");
button.getElement.setAttribute("title", "This is the tooltip");https://stackoverflow.com/questions/73395280
复制相似问题