W3cubDocs

/Haxe JavaScript

EventListener

package js.html

Available on js

The EventListener interface represents an object that can handle an event dispatched by an EventTarget object.

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

See also:

Fields

handleEvent(event:Event):Void

A function that is called whenever an event of the specified type occurs.

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