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

Class H4

    • Constructor Detail

      • H4

        public H4()

        Creates a new empty heading.

      • H4

        public H4​(Component... components)

        Creates a new heading with the given child components.

        Parameters:

        components - the child components

      • H4

        public H4​(String text)

        Creates a new heading with the given text.

        Parameters:

        text - the text