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