Skip to main content

RowHeight

Typeobject
Backlinks1

This property is used to define the size of rows in a grid layout. By setting this property of an element, you can specify the size of rows in a grid container.

PropertyTypeRequired
classstringRequired
strategyintegerRequired
fixedValuenumberRequired

class​

Required

Type

string

Value

constant: the value of this property must be equal to:

"rowHeight"

strategy​

Required

Description

no description

Type

integer

Value

enum: the value of this property must be equal to one of the following values:

ValueExplanation
1
fill container (Fills the row height of the parent.)
2
fit content (Adapts the height of the subitem.)
3
fixed (decided by row height)

fixedValue​

Required

Description

Only applies when strategy is fixed, indicating a fixed row height value.

Type

number