Events dispatched by the TreeView component.

Available since

1.0.0

.

See also:

Static variables

@:value("branchClose")staticinlineread onlyBRANCH_CLOSE:EventType<TreeViewEvent> = "branchClose"

The TreeViewEvent.BRANCH_CLOSE event type is dispatched when a branch is closed.

Available since

1.0.0

.

@:value("branchOpen")staticinlineread onlyBRANCH_OPEN:EventType<TreeViewEvent> = "branchOpen"

The TreeViewEvent.BRANCH_OPEN event type is dispatched when a branch is opened.

Available since

1.0.0

.

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

The TreeViewEvent.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:TreeViewItemState):Bool

Dispatches a pooled event with the specified properties.

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

1.0.0

.

Constructor

new(type:String, state:TreeViewItemState)

Variables

Methods