Class GridItem

java.lang.Object
org.patternfly.layout.BaseLayout<elemental2.dom.HTMLElement,GridItem>
org.patternfly.layout.grid.GridItem
All Implemented Interfaces:
Container<elemental2.dom.HTMLElement,GridItem>, Finder<elemental2.dom.HTMLElement>, HasElement<elemental2.dom.HTMLElement,GridItem>, HasHTMLElement<elemental2.dom.HTMLElement,GridItem>, IsElement<elemental2.dom.HTMLElement>, TypedBuilder<elemental2.dom.HTMLElement,GridItem>, Layout

public class GridItem extends BaseLayout<elemental2.dom.HTMLElement,GridItem>
  • Method Details

    • gridItem

      public static GridItem gridItem()
    • gridItem

      public static <E extends elemental2.dom.HTMLElement> GridItem gridItem(HTMLContainerBuilder<E> builder)
    • span

      public GridItem span(int columns)
      Same as span(breakpoints(default_, columns))
    • span

      public GridItem span(Breakpoints<Integer> columns)
      The number of columns the grid item spans on a specific breakpoint. Value should be a number 1-12.
    • rowSpan

      public GridItem rowSpan(int rows)
      Same as rowSpan(breakpoints(default_, rows))
    • rowSpan

      public GridItem rowSpan(Breakpoints<Integer> rows)
      The number of rows the grid item spans on a specific breakpoint. Value should be a number 1-12
    • offset

      public GridItem offset(int columns)
      Same as offset(breakpoints(default_, columns))
    • offset

      public GridItem offset(Breakpoints<Integer> columns)
      The number of columns the grid item is offset on a specific breakpoint. Value should be a number 1-12
    • order

      public GridItem order(String order)
      Same as order(breakpoints(default_, order))
    • order

      public GridItem order(Breakpoints<String> order)
      Modifies the flex layout element order property.
    • that

      public GridItem that()