On This Page
A popover. Just wrap any component and define the popover content (e.g. a micro frontend).
- Fluent
- Declarative
Popover.builder()
.wrapped(new Text("Click me!"))
.content(new Text("Popover content"))
.build()
copyThere is no declarative thing for popovers. Just use a popover 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 wrapped component | |
| content | the popover content |
You can see a full explanation of those properties at https://vaadin.com/docs/latest/components/popover