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

interface SubmitEvent : Event {
    constructor(DOMString type, optional SubmitEventInit eventInitDict = {});

    readonly attribute HTMLElement? submitter;
};

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