SubmitEvent.idl 400 B

1234567891011121314
  1. #import <DOM/Event.idl>
  2. #import <HTML/HTMLElement.idl>
  3. // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#submitevent
  4. [Exposed=Window]
  5. interface SubmitEvent : Event {
  6. constructor(DOMString type, optional SubmitEventInit eventInitDict = {});
  7. readonly attribute HTMLElement? submitter;
  8. };
  9. dictionary SubmitEventInit : EventInit {
  10. HTMLElement? submitter = null;
  11. };