Class PageMainGroup

java.lang.Object
org.patternfly.component.SubComponent<elemental2.dom.HTMLDivElement,PageMainGroup>
org.patternfly.component.page.PageMainGroup
All Implemented Interfaces:
Container<elemental2.dom.HTMLDivElement,PageMainGroup>, Finder<elemental2.dom.HTMLDivElement>, HasElement<elemental2.dom.HTMLDivElement,PageMainGroup>, HasHTMLElement<elemental2.dom.HTMLDivElement,PageMainGroup>, IsElement<elemental2.dom.HTMLDivElement>, TypedBuilder<elemental2.dom.HTMLDivElement,PageMainGroup>

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

  • Method Details

    • pageMainGroup

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

      public <E extends elemental2.dom.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()