Base class for all browser objects that support events.
Use the on property to add, and remove events for compile-time type checks and a more concise API.
- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- EventTarget
- Implemented by
- AbstractWorker
- Animation
- ApplicationCache
- AudioContext
- AudioNode
- AudioTrackList
- BatteryManager
- CompositorWorker
- CrossOriginServiceWorkerClient
- Database
- EventSource
- FileReader
- FileWriter
- FontFaceSet
- GlobalEventHandlers
- HttpRequestEventTarget
- MediaController
- MediaKeySession
- MediaQueryList
- MediaSource
- MediaStream
- MediaStreamTrack
- MessagePort
- MidiAccess
- MidiPort
- NetworkInformation
- Node
- Notification
- Performance
- PermissionStatus
- Presentation
- PresentationAvailability
- PresentationSession
- Request
- RtcDataChannel
- RtcDtmfSender
- RtcPeerConnection
- ScreenOrientation
- ServicePortCollection
- ServiceWorkerContainer
- ServiceWorkerRegistration
- SharedWorker
- SourceBuffer
- SourceBufferList
- SpeechRecognition
- SpeechSynthesis
- SpeechSynthesisUtterance
- StashedPortCollection
- TextTrack
- TextTrackCue
- TextTrackList
- Transaction
- VideoTrackList
- WebSocket
- Window
- WindowBase
- WindowEventHandlers
- Worker
- WorkerGlobalScope
- WorkerPerformance
- Annotations
- DomName('EventTarget')
Static Properties
- instanceRuntimeType → Type
-
read-only
Constructors
Properties
Operators
-
operator ==(
other) → bool -
The equality operator.…
inherited
Methods
-
addEventListener(
String type, EventListener listener(Event event), [bool useCapture]) → void -
dispatchEvent(
Event event) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.…
inherited -
removeEventListener(
String type, EventListener listener(Event event), [bool useCapture]) → void -
toString(
) → String -
Returns the result of the JavaScript objects
toString
method.inherited