2021-10-01 18:46:37 +03:00
|
|
|
#import <DOM/Event.idl>
|
2022-02-15 22:40:51 +03:30
|
|
|
#import <HTML/HTMLElement.idl>
|
2021-10-01 18:46:37 +03:00
|
|
|
|
2022-10-07 16:45:09 -06:00
|
|
|
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#submitevent
|
2023-09-03 02:00:01 +12:00
|
|
|
[Exposed=Window]
|
2020-11-21 21:53:18 +00:00
|
|
|
interface SubmitEvent : Event {
|
2021-10-01 18:46:37 +03:00
|
|
|
constructor(DOMString type, optional SubmitEventInit eventInitDict = {});
|
2020-11-21 21:53:18 +00:00
|
|
|
|
|
|
|
readonly attribute HTMLElement? submitter;
|
2021-10-01 18:46:37 +03:00
|
|
|
};
|
2020-11-21 21:53:18 +00:00
|
|
|
|
2021-10-01 18:46:37 +03:00
|
|
|
dictionary SubmitEventInit : EventInit {
|
2024-01-17 21:03:20 +01:00
|
|
|
HTMLElement? submitter = null;
|
2020-12-09 21:26:42 +00:00
|
|
|
};
|