Class PageSectionBuilder<E extends HTMLElement,​P extends PageSectionBuilder<E,​P>>

    • Method Detail

      • limitWidth

        public P limitWidth()
        Modifies this component to limit the max-width of the content inside. If used, please make sure to wrap the content of this component inside a PageMainBody using addBody(PageMainBody).
      • sticky

        public P sticky​(Breakpoints<Sticky> sticky)
        Modifies this component to be sticky at the given breakpoints.
      • centerAligned

        public P centerAligned()
        Flag indicating if the section content is center aligned. limitWidth() must be set for this to work.
      • shadowTop

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

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

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