Represents the current state of a PageIndicator toggle button.

Available since

1.0.0

.

See also:

Constructor

@:value({ selected : false, index : -1 })new(index:Int = -1, selected:Bool = false)

Creates a new PageIndicatorItemState object with the given arguments.

Available since

1.0.0

.

Variables

@:value(true)enabled:Bool = true

Returns whether the item is enabled or not.

Available since

1.0.0

.

See also:

@:value(-1)index:Int = -1

The page index.

Available since

1.0.0

.

owner:PageIndicator

Returns a reference to the PageIndicator that contains this item.

Available since

1.0.0

.

@:value(false)selected:Bool = false

Returns whether the button is selected or not.

Available since

1.0.0

.

See also: