Interface FlexAlignment2D

Like Alignment2D, but for multi-containers. Each axis can also be a ratio.

interface FlexAlignment2D {
    cross: number | Stretch | SoftStretch;
    main: number | SpaceBetween | SpaceAround;
}

Properties

Properties

cross: number | Stretch | SoftStretch

The alignment of the cross axis

main: number | SpaceBetween | SpaceAround

The alignment of the main axis