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

// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#the-formdataevent-interface
[Exposed=Window, UseNewAKString]
interface FormDataEvent : Event {
    constructor(DOMString type, FormDataEventInit eventInitDict);

    readonly attribute FormData formData;
};

dictionary FormDataEventInit : EventInit {
    required FormData formData;
};