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:

PropertyDescriptionNotes
idid for this component
cssClasseslist of css classescontent of the css attribute
styleinline style attributescontent of the style attribute
pagethe virtual list items

You can see a full explanation of those properties at https://vaadin.com/docs/latest/components/virtual-list