mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 09:46:04 -05:00
67ceba2e6a
The intent is to use these to autogenerate prototype declarations for Window and WorkerGlobalScope classes. And the spec links are just nice to have :^)
14 lines
400 B
Text
14 lines
400 B
Text
#import <DOM/Event.idl>
|
|
#import <HTML/HTMLElement.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#submitevent
|
|
[Exposed=Window]
|
|
interface SubmitEvent : Event {
|
|
constructor(DOMString type, optional SubmitEventInit eventInitDict = {});
|
|
|
|
readonly attribute HTMLElement? submitter;
|
|
};
|
|
|
|
dictionary SubmitEventInit : EventInit {
|
|
HTMLElement? submitter = null;
|
|
};
|