8.6 Released with 🥽 visionOS support and more!
Check it out
FlexboxLayout

Summary

Constructors

constructor

Properties

alignContent
alignItems
flexDirection
flexWrap
justifyContent
161 properties inherited from LayoutBase
Click to expand

Methods

getAlignSelf
getFlexGrow
getFlexShrink
getFlexWrapBefore
getOrder
setAlignSelf
setFlexGrow
setFlexShrink
setFlexWrapBefore
setOrder
122 methods inherited from LayoutBase
Click to expand

Constructors

constructor

new FlexboxLayout(): FlexboxLayout

Properties

alignContent

alignItems

flexDirection

flexDirection: FlexDirection

justifyContent

justifyContent: JustifyContent

Methods

getAlignSelf

Static
getAlignSelf(view: View): AlignSelf
Parameter Default Description
view

Returns AlignSelf

getFlexGrow

Static
getFlexGrow(view: View): any
Parameter Default Description
view

Returns any

getFlexShrink

Static
getFlexShrink(view: View): number
Parameter Default Description
view

Returns number

getFlexWrapBefore

Static
getFlexWrapBefore(view: View): boolean
Parameter Default Description
view

Returns boolean

getOrder

Static
getOrder(view: View): number
Parameter Default Description
view

Returns number

setAlignSelf

Static
setAlignSelf(view: View, align: AlignSelf): any
Parameter Default Description
view

align
AlignSelf

Returns any

setFlexGrow

Static
setFlexGrow(view: View, grow: number): any
Parameter Default Description
view

grow
number

Returns any

setFlexShrink

Static
setFlexShrink(view: View, shrink: number): any
Parameter Default Description
view

shrink
number

Returns any

setFlexWrapBefore

Static
setFlexWrapBefore(view: View, wrap: boolean): any
Parameter Default Description
view

wrap
boolean

Returns any

setOrder

Static
setOrder(view: View, order: number): any
Parameter Default Description
view

order
number

Returns any
Next
Folder