States for button components.

Available since

1.0.0

.

Variables

@:value(cast "disabled")@:enum@:implinlineread onlyDISABLED:ButtonState = "disabled"

The disabled state, when the component's enabled property is false.

Available since

1.0.0

.

@:value(cast "down")@:enum@:implinlineread onlyDOWN:ButtonState = "down"

The down state, on mouse down or touch begin.

Available since

1.0.0

.

@:value(cast "hover")@:enum@:implinlineread onlyHOVER:ButtonState = "hover"

The hover state, when the mouse is over the component. This state is not used with touch.

Available since

1.0.0

.

@:value(cast "up")@:enum@:implinlineread onlyUP:ButtonState = "up"

The up state, when there is no interaction.

Available since

1.0.0

.

Methods

@:impl@:totoString ():String