Class Main

All Implemented Interfaces:
AttachNotifier, ClickNotifier<Main>, DetachNotifier, HasAriaLabel, HasComponents, HasElement, HasEnabled, HasOrderedComponents, HasSize, HasStyle, HasText, Serializable

@Tag("main") public class Main extends HtmlContainer implements ClickNotifier<Main>, HasOrderedComponents, HasAriaLabel
Component representing a <main> element.
Since:
1.0
Author:
Vaadin Ltd
See Also:
  • Constructor Details

    • Main

      public Main()
      Creates a new empty main.
    • Main

      public Main(Component... components)
      Creates a new main with the given child components.
      Parameters:
      components - the child components