Events dispatched by the ButtonBar component.

Available since

1.0.0

.

See also:

Static variables

@:value("itemTrigger")staticinlineread onlyITEM_TRIGGER:EventType<ButtonBarEvent> = "itemTrigger"

The ButtonBarEvent.ITEM_TRIGGER event type is dispatched when an item renderer is clicked or tapped.

Available since

1.0.0

.

Static methods

staticdispatch(dispatcher:IEventDispatcher, type:String, state:ButtonBarItemState):Bool

Dispatches a pooled event with the specified properties.

ButtonBarEvent.dispatch(component, ButtonBarEvent.ITEM_TRIGGER, state);
Available since

1.0.0

.

Constructor

new(type:String, state:ButtonBarItemState)

Creates a new ButtonBarEvent object with the given arguments.

Available since

1.0.0

.

See also:

Variables

state:ButtonBarItemState

The current state of the item associated with this event.

Available since

1.0.0

.

Methods