LayoutParams
Optional
aboveId• aboveId? : Id = DefaultProps.ABOVE
Optional
belowId• belowId? : Id = DefaultProps.BELOW
Optional
bottomId• bottomId? : Id = DefaultProps.ALIGN_BOTTOM
• centerH: boolean = DefaultProps.CENTER_HORIZONTAL
• centerV: boolean = DefaultProps.CENTER_VERTICAL
• dependenciesModified: boolean = false
Optional
endId• endId? : Id = DefaultProps.ALIGN_END
• h: DimensionInput = DefaultProps.HEIGHT
• hDimension: Dimension = parseDimension(DefaultProps.HEIGHT)
• isAbsolute: boolean = DefaultProps.IS_ABSOLUTE
• isAnimated: boolean = DefaultProps.IS_ANIMATED
• marginRect: Rect‹› = DefaultProps.MARGIN
• maxH: number = DefaultProps.MAX_HEIGHT
• maxW: number = DefaultProps.MAX_WIDTH
• minH: number = DefaultProps.MIN_HEIGHT
• minW: number = DefaultProps.MIN_WIDTH
• 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: DimensionInput = DefaultProps.WIDTH
• wDimension: Dimension = parseDimension(DefaultProps.WIDTH)
• x: DimensionInput = DefaultProps.X
• xDimension: Dimension = parseDimension(DefaultProps.X)
• y: DimensionInput = DefaultProps.Y
• yDimension: Dimension = parseDimension(DefaultProps.Y)
▸ above(id?
: Id): this
Parameters:
Returns: this
▸ absolute(absolute?
: undefined | false | true): this
Parameters:
Returns: this
▸ alignBottom(id?
: Id): this
Parameters:
Returns: this
▸ alignEnd(id?
: Id): this
Parameters:
Returns: this
▸ alignParentBottom(): this
Returns: this
▸ alignParentEnd(): this
Returns: this
▸ alignParentStart(): this
Returns: this
▸ alignParentTop(): this
Returns: this
▸ alignStart(id?
: Id): this
Parameters:
Returns: this
▸ alignTop(id?
: Id): this
Parameters:
Returns: this
▸ animate(animate?
: undefined | false | true): this
Parameters:
Returns: this
▸ asProps(): LayoutProps
Returns: LayoutProps
▸ below(id?
: Id): this
Parameters:
Returns: this
▸ center(center?
: undefined | false | true): this
Parameters:
Returns: this
▸ centerHorizontal(center?
: undefined | false | true): this
Parameters:
Returns: this
▸ centerVertical(center?
: undefined | false | true): this
Parameters:
Returns: this
▸ height(height
: DimensionInput): this
Parameters:
Returns: this
▸ margin(margin?
: RectLike): this
Parameters:
Returns: this
▸ maxHeight(maxHeight
: number): this
Parameters:
Returns: this
▸ maxWidth(maxWidth
: number): this
Parameters:
Returns: this
▸ minHeight(minHeight
: number): this
Parameters:
Returns: this
▸ minWidth(minWidth
: number): this
Parameters:
Returns: this
▸ padding(padding?
: RectLike): this
Parameters:
Returns: this
▸ posX(x
: DimensionInput): this
Parameters:
Returns: this
▸ posY(y
: DimensionInput): this
Parameters:
Returns: this
▸ toEndOf(id?
: Id): this
Parameters:
Returns: this
▸ toLeftOf(id?
: Id): this
Parameters:
Returns: this
▸ toRightOf(id?
: Id): this
Parameters:
Returns: this
▸ toStartOf(id?
: Id): this
Parameters:
Returns: this
▸ updateWithProps(__namedParameters
: object): boolean
Parameters:
▪Default value
__namedParameters: object= {}
Returns: boolean
▸ width(width
: DimensionInput): this
Parameters:
Returns: this
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type | Default |
---|---|---|
Name | Type |
---|---|
id?
absolute?
undefined | false | true
id?
id?
id?
id?
animate?
undefined | false | true
id?
center?
undefined | false | true
center?
undefined | false | true
center?
undefined | false | true
height
margin?
maxHeight
number
maxWidth
number
minHeight
number
minWidth
number
padding?
x
y
id?
id?
id?
id?
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
DefaultProps.MARGIN
maxHeight
number
DefaultProps.MAX_HEIGHT
maxWidth
number
DefaultProps.MAX_WIDTH
minHeight
number
DefaultProps.MIN_HEIGHT
minWidth
number
DefaultProps.MIN_WIDTH
padding
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
width