Class GridItem

All Implemented Interfaces:
Container<HTMLElement,GridItem>, Finder<HTMLElement>, HasElement<HTMLElement,GridItem>, HasHTMLElement<HTMLElement,GridItem>, IsElement<HTMLElement>, TypedBuilder<HTMLElement,GridItem>, Layout

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

    • gridItem

      public static GridItem gridItem()
    • gridItem

      public static <E extends 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()