A scroller.

  • Fluent
  • Declarative

  Scroller.builder()
          .content(someContent)
          .style("width: 20rem;")
          .build() 
copy

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:

PropertyDescriptionNotes
idid for this component
cssClasseslist of css classescontent of the css attribute
styleinline style attributescontent of the style attribute
contentthe content inside the scroller

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