On This Page
A list with infinite scrolling.
- Fluent
- Declarative
VirtualList.builder()
.page(new Page<>(10, 1, 3, List.of(
new Text("Item 1"),
new Text("Item 2"),
new Text("Item 3")
)))
.build()
TBD
Available properties
This is the list of available properties for a virtual list 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 |
| page | the virtual list items |
You can see a full explanation of those properties at https://vaadin.com/docs/latest/components/virtual-list