8.7 released—WinterCG Compliance Part 1
Learn more
WrapLayout
WrapLayout position children in rows or columns depending on orientation property until space is filled and then wraps them on new row or column.

Summary ​

Constructors

constructor

Properties

itemHeight
itemWidth
orientation
161 properties inherited from LayoutBase
Click to expand

Constructors ​

constructor ​

new WrapLayout(): WrapLayout

Properties ​

itemHeight ​

itemHeight: LengthType
Gets or sets the height used to measure and layout each child. Default value is Number.NaN which does not restrict children.

itemWidth ​

itemWidth: LengthType
Gets or sets the width used to measure and layout each child. Default value is Number.NaN which does not restrict children.

orientation ​

orientation: OrientationType
Gets or sets the flow direction. Default value is horizontal. If orientation is horizontal items are arranged in rows, else items are arranged in columns.
Previous
WebView