mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:07:35 +00:00
LibWeb: Add the missing SubmitEvent IDL constructor
This commit also removes the SubmitEvent.cpp file, as all of the method implementations were trivial and could be inlined into the header file.
This commit is contained in:
parent
d44857d34d
commit
1e8ba0d9d3
5 changed files with 31 additions and 39 deletions
|
@ -1,5 +1,11 @@
|
|||
#import <DOM/Event.idl>
|
||||
|
||||
interface SubmitEvent : Event {
|
||||
constructor(DOMString type, optional SubmitEventInit eventInitDict = {});
|
||||
|
||||
readonly attribute HTMLElement? submitter;
|
||||
|
||||
};
|
||||
|
||||
dictionary SubmitEventInit : EventInit {
|
||||
HTMLElement? submitter = null;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue