com.vaadin.flow.component.html.

Class H5

All Implemented Interfaces:

AttachNotifier, ClickNotifier<H5>, DetachNotifier, HasComponents, HasElement, HasEnabled, HasSize, HasStyle, HasText, Serializable

@Tag("h5") public class H5 extends HtmlContainer implements ClickNotifier<H5>

Component representing a <h5> element.

Since:

1.0

Author:

Vaadin Ltd

See Also:

  • Constructor Details

    • H5

      public H5()

      Creates a new empty heading.

    • H5

      public H5(Component... components)

      Creates a new heading with the given child components.

      Parameters:

      components - the child components

    • H5

      public H5(String text)

      Creates a new heading with the given text.

      Parameters:

      text - the text