On This Page
A tooltip. Just wrap any other component and provide the tooltip text.
- Fluent
- Declarative
Tooltip.builder()
.text("Hello tooltip")
.wrapped(new Text("Hover me!"))
.build()
There is no declarative thing for scrollers. Just use a scroller record as in imperative.
Available properties
This is the list of available properties for a popover component:
| Property | Description | Notes |
|---|---|---|
| id | id for this component | |
| cssClasses | list of css classes | content of the css attribute |
| style | inline style attributes | content of the style attribute |
| wrapped | the tooltip owner | |
| text | the tooltip text |
You can see a full explanation of those properties at https://vaadin.com/docs/latest/components/tooltip