Wrap

Register on Lenra

Element of type Wrap

AttributeDescriptionType
typeThe identifier of the componentstring ("wrap")
childrenThe children of the wrap.component[]
alignmentHow the objects in the Wrap should be aligned.string ("start", "end", "center", "spaceBetween", "spaceAround", "spaceEvenly")
crossAxisAlignmentHow the objects in the Wrap should be aligned on the CrossAxis.string ("start", "end", "center")
directionThe direction of the component (horizontal/vertical)string ("horizontal", "vertical")
horizontalDirectionIn which direction the elements should be placed following the horizontal axis.string ("ltr", "rtl")
runAlignmentHow the objects in the Wrap should be aligned.string ("start", "end", "center", "spaceBetween", "spaceAround", "spaceEvenly")
runSpacingThe spacing between each run of the wrap.number
spacingThe spacing between each child of the wrap.number
verticalDirectionHow the objects should be aligned following the vertical axis.string ("down", "up")