mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 14:15:08 +00:00

Specification: https://dom.spec.whatwg.org/#concept-event-dispatch This also introduces shadow roots due to it being a requirement of the event dispatcher. However, it does not introduce the full shadow DOM, that can be left for future work. This changes some event dispatches which require certain attributes to be initialised to a value.
23 lines
635 B
Text
23 lines
635 B
Text
interface Event {
|
|
|
|
readonly attribute DOMString type;
|
|
readonly attribute EventTarget? target;
|
|
readonly attribute EventTarget? srcTarget;
|
|
readonly attribute EventTarget? currentTarget;
|
|
|
|
readonly attribute unsigned short eventPhase;
|
|
|
|
void stopPropagation();
|
|
attribute boolean cancelBubble;
|
|
void stopImmediatePropagation();
|
|
|
|
readonly attribute boolean bubbles;
|
|
readonly attribute boolean cancelable;
|
|
attribute boolean returnValue;
|
|
void preventDefault();
|
|
readonly attribute boolean defaultPrevented;
|
|
readonly attribute boolean composed;
|
|
|
|
readonly attribute boolean isTrusted;
|
|
|
|
}
|