summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/EventTarget.idl
blob: eb7f45fc8702d685ca82235fc9a9caa8d7434bf3 (plain)
1
2
3
4
5
6
7
8
9
interface EventTarget {

    // FIXME: Both of these should take in options
    undefined addEventListener(DOMString type, EventListener? callback);
    undefined removeEventListener(DOMString type, EventListener? callback);

    [ImplementedAs=dispatch_event_binding] boolean dispatchEvent(Event event);

};