Sets the optional span and offset for an item in a ResponsiveGridLayout.

Events:

openfl.events.Event.CHANGE
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

@:flash.propertylgOffset: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:

@:flash.propertylgSpan: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:

@:flash.propertymdOffset: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:

@:flash.propertymdSpan: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:

@:flash.propertyoffset:Int

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

Available since

1.0.0

.

@:flash.propertysmOffset: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:

@:flash.propertysmSpan: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:

@:flash.propertyspan:Int

The number of columns that this item spans.

Available since

1.0.0

.

@:flash.propertyxlOffset: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:

@:flash.propertyxlSpan: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: