Skip to main content

Interface: RelativeLayoutOptions

Placement relative to an element.

Properties​

PropertyTypeDescription
align?RelativeAlignPerpendicular alignment; default: start.
animate?LayoutAnimation-
duration?numberDuration in seconds; default: 0.6.
gap?numberDistance from the target in stage units; default: 3.
height?Size | Size[]-
stack?booleanChain elements in reading order; default: true.
width?Size | Size[]Element dimensions; arrays select each placed element. Default: existing size.