Search
⌃K
Links

LayoutParams

Hierarchy

  • LayoutParams

Index

Properties

Methods

Properties

Optional aboveId

aboveId? : Id = DefaultProps.ABOVE

Optional belowId

belowId? : Id = DefaultProps.BELOW

Optional bottomId

bottomId? : Id = DefaultProps.ALIGN_BOTTOM

centerH

centerH: boolean = DefaultProps.CENTER_HORIZONTAL

centerV

centerV: boolean = DefaultProps.CENTER_VERTICAL

dependenciesModified

dependenciesModified: boolean = false

Optional endId

endId? : Id = DefaultProps.ALIGN_END

h

h: DimensionInput = DefaultProps.HEIGHT

hDimension

hDimension: Dimension = parseDimension(DefaultProps.HEIGHT)

isAbsolute

isAbsolute: boolean = DefaultProps.IS_ABSOLUTE

isAnimated

isAnimated: boolean = DefaultProps.IS_ANIMATED

marginRect

marginRect: Rect‹› = DefaultProps.MARGIN

maxH

maxH: number = DefaultProps.MAX_HEIGHT

maxW

maxW: number = DefaultProps.MAX_WIDTH

minH

minH: number = DefaultProps.MIN_HEIGHT

minW

minW: number = DefaultProps.MIN_WIDTH

paddingRect

paddingRect: Rect‹› = DefaultProps.PADDING

Optional startId

startId? : Id = DefaultProps.ALIGN_START

Optional toEndOfId

toEndOfId? : Id = DefaultProps.TO_END_OF

Optional toStartOfId

toStartOfId? : Id = DefaultProps.TO_START_OF

Optional topId

topId? : Id = DefaultProps.ALIGN_TOP

w

w: DimensionInput = DefaultProps.WIDTH

wDimension

wDimension: Dimension = parseDimension(DefaultProps.WIDTH)

x

x: DimensionInput = DefaultProps.X

xDimension

xDimension: Dimension = parseDimension(DefaultProps.X)

y

y: DimensionInput = DefaultProps.Y

yDimension

yDimension: Dimension = parseDimension(DefaultProps.Y)

Methods

above

above(id?: Id): this
Parameters:
Name
Type
id?
Id
Returns: this

absolute

absolute(absolute?: undefined | false | true): this
Parameters:
Name
Type
absolute?
undefined | false | true
Returns: this

alignBottom

alignBottom(id?: Id): this
Parameters:
Name
Type
id?
Id
Returns: this

alignEnd

alignEnd(id?: Id): this
Parameters:
Name
Type
id?
Id
Returns: this

alignParentBottom

alignParentBottom(): this
Returns: this

alignParentEnd

alignParentEnd(): this
Returns: this

alignParentStart

alignParentStart(): this
Returns: this

alignParentTop

alignParentTop(): this
Returns: this

alignStart

alignStart(id?: Id): this
Parameters:
Name
Type
id?
Id
Returns: this

alignTop

alignTop(id?: Id): this
Parameters:
Name
Type
id?
Id
Returns: this

animate

animate(animate?: undefined | false | true): this
Parameters:
Name
Type
animate?
undefined | false | true
Returns: this

asProps

asProps(): LayoutProps
Returns: LayoutProps

below

below(id?: Id): this
Parameters:
Name
Type
id?
Id
Returns: this

center

center(center?: undefined | false | true): this
Parameters:
Name
Type
center?
undefined | false | true
Returns: this

centerHorizontal

centerHorizontal(center?: undefined | false | true): this
Parameters:
Name
Type
center?
undefined | false | true
Returns: this

centerVertical

centerVertical(center?: undefined | false | true): this
Parameters:
Name
Type
center?
undefined | false | true
Returns: this

height

height(height: DimensionInput): this
Parameters:
Name
Type
height
Returns: this

margin

margin(margin?: RectLike): this
Parameters:
Name
Type
margin?
RectLike
Returns: this

maxHeight

maxHeight(maxHeight: number): this
Parameters:
Name
Type
maxHeight
number
Returns: this

maxWidth

maxWidth(maxWidth: number): this
Parameters:
Name
Type
maxWidth
number
Returns: this

minHeight

minHeight(minHeight: number): this
Parameters:
Name
Type
minHeight
number
Returns: this

minWidth

minWidth(minWidth: number): this
Parameters:
Name
Type
minWidth
number
Returns: this

padding

padding(padding?: RectLike): this
Parameters:
Name
Type
padding?
RectLike
Returns: this

posX

posX(x: DimensionInput): this
Parameters:
Name
Type
x
Returns: this

posY

posY(y: DimensionInput): this
Parameters:
Name
Type
y
Returns: this

toEndOf

toEndOf(id?: Id): this
Parameters:
Name
Type
id?
Id
Returns: this

toLeftOf

toLeftOf(id?: Id): this
Parameters:
Name
Type
id?
Id
Returns: this

toRightOf

toRightOf(id?: Id): this
Parameters:
Name
Type
id?
Id
Returns: this

toStartOf

toStartOf(id?: Id): this
Parameters:
Name
Type
id?
Id
Returns: this

updateWithProps

updateWithProps(__namedParameters: object): boolean
Parameters:
Default value __namedParameters: object= {}
Name
Type
Default
above
undefined | string | number
DefaultProps.ABOVE
alignBottom
undefined | string | number
DefaultProps.ALIGN_BOTTOM
alignEnd
undefined | string | number
DefaultProps.ALIGN_END
alignStart
undefined | string | number
DefaultProps.ALIGN_START
alignTop
undefined | string | number
DefaultProps.ALIGN_TOP
below
undefined | string | number
DefaultProps.BELOW
centerHorizontal
boolean
DefaultProps.CENTER_HORIZONTAL
centerVertical
boolean
DefaultProps.CENTER_VERTICAL
height
null | string | number
DefaultProps.HEIGHT
isAbsolute
boolean
DefaultProps.IS_ABSOLUTE
isAnimated
boolean
DefaultProps.IS_ANIMATED
margin
RectLike
DefaultProps.MARGIN
maxHeight
number
DefaultProps.MAX_HEIGHT
maxWidth
number
DefaultProps.MAX_WIDTH
minHeight
number
DefaultProps.MIN_HEIGHT
minWidth
number
DefaultProps.MIN_WIDTH
padding
RectLike
DefaultProps.PADDING
posX
null | string | number
DefaultProps.X
posY
null | string | number
DefaultProps.Y
toEndOf
undefined | string | number
DefaultProps.TO_END_OF
toStartOf
undefined | string | number
DefaultProps.TO_START_OF
width
null | string | number
DefaultProps.WIDTH
Returns: boolean

width

width(width: DimensionInput): this
Parameters:
Name
Type
width
Returns: this
Last modified 1yr ago