ladybird/Userland/Libraries/LibWeb/HTML/SubmitEvent.idl
Shannon Booth d4a890080d LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString
NewAKString is effectively the default for any new IDL interface, so
let's mark this as the default behavior. It also makes it much easier to
figure out whatever interfaces are still left to port over to new AK
String.
2023-09-02 19:23:41 +01:00

15 lines
400 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;
};