A Focus event is fired when the mouse clicks on a element that was not focused before. The previously focused element (might be null as well) is no longer focused then.

Constructor

new(element:Null<Element>, state:FocusEventState, mouseButton:MouseButton)

Methods

Inherited Variables

Defined by MouseButtonEvent

@:paramfinalmouseButton:MouseButton

The mouse button that triggered this event.

Defined by Event

finalelement:Null<Element>

The element that receives this event. If null, this event is not dispatched.

privatefinalstate:Int

Inherited Methods