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

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:

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:

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:

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:

offset:Int

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

Available since

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.

Available since

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.

Available since

1.0.0

.

See also:

span:Int

The number of columns that this item spans.

Available since

1.0.0

.

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:

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: