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

enabled:Bool

Returns whether the item is enabled or not.

Available since

1.0.0

.

See also:

index:Int

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

.

selected:Bool

Returns whether the button is selected or not.

Available since

1.0.0

.

See also: