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 | Dispatched when a property of the layout data changes, which triggers the container to invalidate. |
|---|
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
lgDisplay:Null<Bool>
Indicates if the item should be displayed by the layout or not when the
layout is using the lg breakpoint. Set to null to fall back to the
mdDisplay.
1.0.0
.See also:
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:
mdDisplay:Null<Bool>
Indicates if the item should be displayed by the layout or not when the
layout is using the md breakpoint. Set to null to fall back to the
smDisplay.
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
.smDisplay:Null<Bool>
Indicates if the item should be displayed by the layout or not when the
layout is using the sm breakpoint. Set to null to fall back to the
default display.
1.0.0
.See also:
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:
xlDisplay:Null<Bool>
Indicates if the item should be displayed by the layout or not when the
layout is using the xl breakpoint. Set to null to fall back to the
lgDisplay.
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:
xxlDisplay:Null<Bool>
Indicates if the item should be displayed by the layout or not when the
layout is using the xxl breakpoint. Set to null to fall back to the
xlDisplay.
1.0.0
.See also:
xxlOffset:Int
The number of empty columns to display before the start of this item
when the layout is using the xxl breakpoint. Set to -1 to fall back
to xlOffset.
1.0.0
.See also:
xxlSpan:Int
The number of columns that this item spans when the layout is using the
xxl breakpoint. Set to -1 to fall back to xlSpan.
1.0.0
.See also: