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

Class H1

    • Constructor Detail

      • H1

        public H1()

        Creates a new empty heading.

      • H1

        public H1​(Component... components)

        Creates a new heading with the given child components.

        Parameters:

        components - the child components

      • H1

        public H1​(String text)

        Creates a new heading with the given text.

        Parameters:

        text - the text