summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/SubmitEvent.idl
blob: 83a47e8667993e4c3f25793664de25ba971e2785 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#import <DOM/Event.idl>
#import <HTML/HTMLElement.idl>

// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#submitevent
[Exposed=Window, UseNewAKString]
interface SubmitEvent : Event {
    constructor(DOMString type, optional SubmitEventInit eventInitDict = {});

    readonly attribute HTMLElement? submitter;
};

dictionary SubmitEventInit : EventInit {
   HTMLElement? submitter = null;
};