Flex
configurationFlex layout settings
flex
Objectflex.direction
StringDefines the direction flex items are placed in the flex container. Think of flex items as primarily laying out either in horizontal rows or vertical columns. Valid values are:
row: This is equivalent toflex-direction: row. This establishes the main-axis to be horizontal, thus defining the direction flex items are placed in the flex container: left to right inltr; right to left inrtl.row-reverse: This is equivalent toflex-direction: row-reverse. This establishes the main-axis to be horizontal, thus defining the direction flex items are placed in the flex container: right to left inltr; left to right inrtl.column: This is equivalent toflex-direction: column. This establishes the main-axis to be vertical, thus defining the direction flex items are placed in the flex container: top to bottom.column-reverse: This is equivalent toflex-direction: column-reverse. This establishes the main-axis to be vertical, thus defining the direction flex items are placed in the flex container: bottom to top.
Default: 'row'
flex.wrap
StringBy default, flex items will all try to fit onto one line. Customizing the property defines how items wrap or not within flex continer. Valid values are:
wrap: This is equivalent toflex-wrap: wrap. It allows flex items to wrap as needed onto multiple lines, from top to bottom.nowrap: This is equivalent toflex-wrap: nowrap. All flex items will be on one line.wrap-reverse:This is equivalent toflex-wrap: wrap-reverse. It allows flex items to wrap as needed onto multiple lines, from bottom to top.
Default: 'nowrap'