mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
These no longer serve any purpose now that we run the IDLGenerator on all of these files at once.
20 lines
650 B
Plaintext
20 lines
650 B
Plaintext
// https://dom.spec.whatwg.org/#eventtarget
|
|
[Exposed=*]
|
|
interface EventTarget {
|
|
constructor();
|
|
|
|
undefined addEventListener(DOMString type, EventListener? callback, optional (AddEventListenerOptions or boolean) options = {});
|
|
undefined removeEventListener(DOMString type, EventListener? callback, optional (EventListenerOptions or boolean) options = {});
|
|
[ImplementedAs=dispatch_event_binding] boolean dispatchEvent(Event event);
|
|
};
|
|
|
|
dictionary EventListenerOptions {
|
|
boolean capture = false;
|
|
};
|
|
|
|
dictionary AddEventListenerOptions : EventListenerOptions {
|
|
boolean passive;
|
|
boolean once = false;
|
|
AbortSignal signal;
|
|
};
|