Class PageGroup

All Implemented Interfaces:
ElementAttributeMethods<HTMLDivElement, PageGroup>, ElementClassListMethods<HTMLDivElement, PageGroup>, ElementConsumerMethods<HTMLDivElement, PageGroup>, ElementContainerMethods<HTMLDivElement, PageGroup>, ElementEventMethods<HTMLDivElement, PageGroup>, ElementIdMethods<HTMLDivElement, PageGroup>, ElementQueryMethods<HTMLDivElement>, HTMLElementAttributeMethods<HTMLDivElement, PageGroup>, HTMLElementDataMethods<HTMLDivElement, PageGroup>, HTMLElementStyleMethods<HTMLDivElement, PageGroup>, HTMLElementVisibilityMethods<HTMLDivElement, PageGroup>, IsElement<HTMLDivElement>, TypedBuilder<HTMLDivElement, PageGroup>

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

pageGroup()
        .addSection(pageBreadcrumb())
        .addSection(pageSection());
  • Field Details

  • Method Details

    • pageGroup

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

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

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

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

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

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

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

      public PageGroup that()