ladybird/Userland/Libraries/LibWeb/HTML/SubmitEvent.idl
2024-01-18 14:00:06 +01:00

15 lines
401 B
Plaintext

#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;
};