RowLayout.format_breaks()#

RowLayout.format_breaks(breaks: List[int], bp: str) List[str][source]#

Takes a list of column sizes (in integers from 1 to 12) and returns a corresponding list of formatted Bootstrap column classes.

Parameters
  • breaks – List of integers, indicating the breakpoints.

  • bp – Specifies the relevant bootstrap breakpoint. (xs, sm, md, lg, or xl).

Returns

List of ready-to-use bootstrap column classes

Return type

List[str]