FlexItemLayout

[ Interface ]

interface FlexItemLayout {
    flex?: string;
    order?: number;
    alignSelf?: FlexAlignSelf;
}

Properties

Name

Type

Description

flex

string, undefined

This property can be used to define how the element grows, shrinks and how its initial size is determined.

MDN: flex

order

number, undefined

Defines the order in which the element is arranged within the flex container. Elements with smaller values are placed before elements with larger values.

MDN: order

alignSelf

FlexAlignSelf, undefined

Defines the alignment of the individual flex element along the transverse axis within the flex container. This property overwrites the alignment specified by the container for the respective element.

MDN: align-self

Schema:

FlexItemLayout 1:

Available since version 1.14.4.17