summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/DOM/Event.idl
blob: 4075db9059ec406bd845fa72e7f97f9ca24b77e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;

}