class ResponsiveGridLayoutData
package feathers.layout
extends EventDispatcher
implements ILayoutData
Sets the optional span and offset for an item in a ResponsiveGridLayout
.
Events:
openfl.events.Event.CHANGE |
---|
1.0.0
.See also:
Constructor
new(span:Int = 1, offset:Int = 0, smSpan:Int = -1, smOffset:Int = -1, mdSpan:Int = -1, mdOffset:Int = -1, lgSpan:Int = -1, lgOffset:Int = -1, xlSpan:Int = -1, xlOffset:Int = -1)
Creates a new ResponsiveGridLayoutData
object from the given arguments.
1.0.0
.Variables
lgOffset:Int
The number of empty columns to display before the start of this item
when the layout is using the lg breakpoint. Set to -1
to fall back
to mdOffset
.
1.0.0
.See also:
lgSpan:Int
The number of columns that this item spans when the layout is using the
lg breakpoint. Set to -1
to fall back to mdSpan
.
1.0.0
.See also:
mdOffset:Int
The number of empty columns to display before the start of this item
when the layout is using the md breakpoint. Set to -1
to fall back
to smOffset
.
1.0.0
.See also:
mdSpan:Int
The number of columns that this item spans when the layout is using the
md breakpoint. Set to -1
to fall back to smSpan
.
1.0.0
.See also:
offset:Int
The number of empty columns to display before the start of this item.
1.0.0
.smOffset:Int
The number of empty columns to display before the start of this item
when the layout is using the sm breakpoint. Set to -1
to fall back
to the default offset
.
1.0.0
.See also:
smSpan:Int
The number of columns that this item spans when the layout is using the
sm breakpoint. Set to -1
to fall back to the default span
.
1.0.0
.See also:
xlOffset:Int
The number of empty columns to display before the start of this item
when the layout is using the xl breakpoint. Set to -1
to fall back
to lgOffset
.
1.0.0
.See also:
xlSpan:Int
The number of columns that this item spans when the layout is using the
xl breakpoint. Set to -1
to fall back to lgSpan
.
1.0.0
.See also: