class EventTarget
package js.html
extended by AudioContext, AudioNode, Database, Request, Transaction, Animation, AudioTrackList, BatteryManager, FontFaceSet, MediaSource, MediaStream, MediaStreamTrack, Node, PermissionStatus, Screen, ScreenOrientation, SourceBuffer, SourceBufferList, SpeechSynthesisUtterance, TextTrack, TextTrackCue, TextTrackList, VideoTrackList, WebSocket, Window, XMLHttpRequestEventTarget
EventTarget
is an interface implemented by objects that can receive events and may have listeners for them.
Documentation EventTarget by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
Methods
addEventListener (type:String, listener:Function, capture:Bool = false):Void
addEventListener (type:String, listener:EventListener, capture:Bool = false, ?wantsUntrusted:Bool):Void
Throws:
null | DOMError |
---|
removeEventListener (type:String, listener:Function, capture:Bool = false):Void
removeEventListener (type:String, listener:EventListener, capture:Bool = false):Void
Throws:
null | DOMError |
---|