W3cubDocs

/Haxe JavaScript

FocusEvent

package js.html

extends UIEventEvent

@:native("FocusEvent") Available on js

The FocusEvent interface represents focus-related events like focus, blur, focusin, or focusout.

Documentation FocusEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Constructor

new (typeArg:String, ?focusEventInitDict:FocusEventInit)

Throws:

null DOMError

Variables

read only relatedTarget:EventTarget

Is an EventTarget representing a secondary target for this event. As in some cases (like when tabbing in or out a page), this property may be set to null for security reasons.

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/FocusEvent.html