You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.html.

Class ListItem

    • Constructor Detail

      • ListItem

        public ListItem()

        Creates a new empty list item.

      • ListItem

        public ListItem​(Component... components)

        Creates a new list item with the given child components.

        Parameters:

        components - the child components

      • ListItem

        public ListItem​(String text)

        Creates a new list item with the given text.

        Parameters:

        text - the text