mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:18:12 +00:00
LibWeb: Introduce the FormDataEvent interface
This commit is contained in:
parent
d5b5b94a35
commit
a6cdf6374f
6 changed files with 95 additions and 0 deletions
14
Userland/Libraries/LibWeb/HTML/FormDataEvent.idl
Normal file
14
Userland/Libraries/LibWeb/HTML/FormDataEvent.idl
Normal file
|
@ -0,0 +1,14 @@
|
|||
#import <DOM/Event.idl>
|
||||
#import <XHR/FormData.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#the-formdataevent-interface
|
||||
[Exposed=Window]
|
||||
interface FormDataEvent : Event {
|
||||
constructor(DOMString type, FormDataEventInit eventInitDict);
|
||||
|
||||
readonly attribute FormData formData;
|
||||
};
|
||||
|
||||
dictionary FormDataEventInit : EventInit {
|
||||
required FormData formData;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue