Class PageMainGroup

All Implemented Interfaces:
Container<HTMLDivElement,PageMainGroup>, Finder<HTMLDivElement>, HasElement<HTMLDivElement,PageMainGroup>, HasHTMLElement<HTMLDivElement,PageMainGroup>, IsElement<HTMLDivElement>, TypedBuilder<HTMLDivElement,PageMainGroup>

public class PageMainGroup extends SubComponent<HTMLDivElement,PageMainGroup>
Container to group multiple PageSection containers. Can be used in combination with the sticky(Breakpoints) modifier to make multiple sections sticky.

pageMainGroup()
        .addSection(pageMainBreadcrumb())
        .addSection(pageMainSection());
  • Method Details

    • pageMainGroup

      public static PageMainGroup pageMainGroup()
      Factory method to create a new instance of this component.
    • addSection

      public <E extends HTMLElement, P extends PageSection<E, P>> PageMainGroup addSection(PageSection<E,P> pageSection)
      Adds a PageSection to this component.
    • sticky

      public PageMainGroup sticky(Sticky sticky)
      Same as sticky(breakpoints(default_, sticky))
    • sticky

      public PageMainGroup sticky(Breakpoints<Sticky> sticky)
      Modifies this component to be sticky at the given breakpoints.
    • shadowTop

      public PageMainGroup shadowTop()
      Modifies this component to have a top shadow.
    • shadowBottom

      public PageMainGroup shadowBottom()
      Modifies this component to have a bottom shadow.
    • overflowScroll

      public PageMainGroup overflowScroll()
      Modifies this component to show a scrollbar if it has overflow content.
    • that

      public PageMainGroup that()