EventTarget
Module: JavaScript DOM API
Common interface for all elements that can be event targets.
#include <EventTarget.idl>
Inherited by Node, Performance, Window, XMLHttpRequestEventTarget
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| void | addEventListener(DOMInternedString type, EventListener listener, optional AddEventListenerOptions options) |
| void | removeEventListener(DOMInternedString type, EventListener listener, optional RemoveEventListenerOptions options) |
| boolean | dispatchEvent(Event event) |
Public Functions Documentation
Section titled “Public Functions Documentation”function addEventListener
Section titled “function addEventListener”void addEventListener( DOMInternedString type, EventListener listener, optional AddEventListenerOptions options)Reimplemented by: Window::addEventListener
function removeEventListener
Section titled “function removeEventListener”void removeEventListener( DOMInternedString type, EventListener listener, optional RemoveEventListenerOptions options)Reimplemented by: Window::removeEventListener
function dispatchEvent
Section titled “function dispatchEvent”boolean dispatchEvent( Event event)Reimplemented by: Window::dispatchEvent
© 2026 Coherent Labs. All rights reserved.