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.

Available since

1.0.0

.

See also:

Constructor

@:value({ xlOffset : -1, xlSpan : -1, lgOffset : -1, lgSpan : -1, mdOffset : -1, mdSpan : -1, smOffset : -1, smSpan : -1, offset : 0, span : 1 })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.

Available since

1.0.0

.

Variables

@:bindable("change")display:Bool

Indicates if the item should be displayed by the layout or not.

Available since

1.0.0

.

@:bindable("change")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.

Available since

1.0.0

.

See also:

@:bindable("change")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.

Available since

1.0.0

.

See also:

@:bindable("change")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.

Available since

1.0.0

.

See also:

@:bindable("change")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.

Available since

1.0.0

.

See also:

@:bindable("change")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.

Available since

1.0.0

.

See also:

@:bindable("change")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.

Available since

1.0.0

.

See also:

@:bindable("change")offset:Int

The number of empty columns to display before the start of this item.

Available since

1.0.0

.

@:bindable("change")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.

Available since

1.0.0

.

See also:

@:bindable("change")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.

Available since

1.0.0

.

See also:

@:bindable("change")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.

Available since

1.0.0

.

See also:

@:bindable("change")span:Int

The number of columns that this item spans.

Available since

1.0.0

.

@:bindable("change")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.

Available since

1.0.0

.

See also:

@:bindable("change")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.

Available since

1.0.0

.

See also:

@:bindable("change")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.

Available since

1.0.0

.

See also:

@:bindable("change")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.

Available since

1.0.0

.

See also:

@:bindable("change")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.

Available since

1.0.0

.

See also:

@:bindable("change")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.

Available since

1.0.0

.

See also: