Skip to main content

Interface: AlignmentOptions

Alignment of existing elements.

Properties​

PropertyTypeDescription
align?RelativeAlignEdge or center; default: start.
animate?LayoutAnimation-
axis?"x" | "y" | "both"Axis to align; default: x.
duration?numberDuration in seconds; default: 0.6.
region?LayoutRegionReference rectangle; default: combined element bounds.