com.vaadin.flow.component.html.

Class H2

    • Constructor Detail

      • H2

        public H2()

        Creates a new empty heading.

      • H2

        public H2(Component... components)

        Creates a new heading with the given child components.

        Parameters:

        components - the child components

      • H2

        public H2(String text)

        Creates a new heading with the given text.

        Parameters:

        text - the text