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.
- Annotations
- DomName('EventTarget')
Properties
Methods
-
addEventListener(
String type, dynamic listener(Event event), [bool useCapture]) → void -
dispatchEvent(
Event event) → bool -
removeEventListener(
String type, dynamic listener(Event event), [bool useCapture]) → void