com.vaadin.flow.component.html.

Class H6

All Implemented Interfaces:

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

@Tag("h6") public class H6 extends HtmlContainer implements ClickNotifier<H6>

Component representing a <h6> element.

Since:

1.0

Author:

Vaadin Ltd

See Also:

  • Constructor Details

    • H6

      public H6()

      Creates a new empty heading.

    • H6

      public H6(Component... components)

      Creates a new heading with the given child components.

      Parameters:

      components - the child components

    • H6

      public H6(String text)

      Creates a new heading with the given text.

      Parameters:

      text - the text