Events dispatched by Feathers UI components.
1.0.0
.Variables
commandKey:Bool
1.0.0
.See:
openfl.events.MouseEvent.commandKey
openfl.events.TouchEvent.commandKey
controlKey:Bool
1.0.0
.See:
openfl.events.MouseEvent.controlKey
openfl.events.TouchEvent.controlKey
ctrlKey:Bool
1.0.0
.See:
openfl.events.MouseEvent.ctrlKey
openfl.events.TouchEvent.ctrlKey
localX:Float
1.0.0
.See:
openfl.events.MouseEvent.localX
openfl.events.TouchEvent.localX
localY:Float
1.0.0
.See:
openfl.events.MouseEvent.localY
openfl.events.TouchEvent.localY
relatedObject:InteractiveObject
1.0.0
.See:
openfl.events.MouseEvent.relatedObject
openfl.events.TouchEvent.relatedObject
shiftKey:Bool
1.0.0
.See:
openfl.events.MouseEvent.shiftKey
openfl.events.TouchEvent.shiftKey
stageX:Float
1.0.0
.See:
openfl.events.MouseEvent.stageX
openfl.events.TouchEvent.stageX
stageY:Float
1.0.0
.See:
openfl.events.MouseEvent.stageY
openfl.events.TouchEvent.stageY
Methods
Static variables
staticinlineread onlyTRIGGER:EventType<TriggerEvent> = "trigger"
The TriggerEvent.TRIGGER
event type is dispatched when a Feathers UI
component is clicked or tapped.
1.0.0
.Static methods
staticdispatchFromMouseEvent (dispatcher:IEventDispatcher, mouseEvent:MouseEvent):Bool
Dispatches a pooled event with the specified properties.
TriggerEvent.dispatchFromMouseEvent(component, event);
1.0.0
.staticdispatchFromTouchEvent (dispatcher:IEventDispatcher, touchEvent:TouchEvent):Bool
Dispatches a pooled event with the specified properties.
TriggerEvent.dispatchFromTouchEvent(component, event);
1.0.0
.staticfromMouseEvent (event:MouseEvent, ?existing:TriggerEvent):TriggerEvent
Creates a new TriggerEvent
object from an existing MouseEvent
object of type MouseEvent.CLICK
.
staticfromTouchEvent (event:TouchEvent, ?existing:TriggerEvent):TriggerEvent
Creates a new TriggerEvent
object from an existing TouchEvent
object of type TouchEvent.TOUCH_TAP
.