package js.html
extended by AudioContext, AudioNode, Database, FileHandle, MutableFile, Request, Transaction, DataChannel, PeerConnection, Animation, ApplicationCache, AudioTrackList, BatteryManager, BroadcastChannel, DOMCursor, DOMRequest, DesktopNotification, EventSource, FileReader, FontFaceSet, ImageCapture, MediaRecorder, MediaSource, MediaStream, MediaStreamTrack, MessagePort, Node, Notification, PermissionStatus, Screen, ScreenOrientation, ServiceWorker, ServiceWorkerRegistration, SharedWorker, SourceBuffer, SourceBufferList, SpeechRecognition, SpeechSynthesisUtterance, TextTrack, TextTrackCue, TextTrackList, VideoTrackList, WebSocket, Window, Worker, WorkerDebuggerGlobalScope, WorkerGlobalScope, XMLHttpRequestEventTarget
Available on js
EventTargetis 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:
addEventListener (type:String, listener:Function, capture:Bool = false):Void addEventListener (type:String, listener:EventListener, capture:Bool = false, ?wantsUntrusted:Bool):VoidThrows:
null |
DOMError |
|---|
dispatchEvent (event:Event):BoolThrows:
null |
DOMError |
|---|
removeEventListener (type:String, listener:Function, capture:Bool = false):Void removeEventListener (type:String, listener:EventListener, capture:Bool = false):VoidThrows:
null |
DOMError |
|---|
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/EventTarget.html