EventTarget

extern class js.html.EventTargetAvailable in jsAn EventTarget is a DOM interface implemented by objects that can receive DOM events and have listeners for them. The most common EventTargets are DOM elements, although other objects can be EventTargets too, for example document, window, XMLHttpRequest, and others.

Documentation for this class was provided by MDN.
function addEventListener( type : String, listener : EventListener, ?useCapture : Bool ) : Void function dispatchEvent( event : Event ) : Bool function removeEventListener( type : String, listener : EventListener, ?useCapture : Bool ) : Void
version #19203, modified 2013-05-08 11:06:55 by api
0 comment