1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:57:47 +00:00

LibWeb: Add constructor to Event IDL interface

This commit is contained in:
Linus Groh 2021-02-17 22:52:40 +01:00 committed by Andreas Kling
parent 0f1da7d40c
commit 0ac07c7351
2 changed files with 8 additions and 0 deletions

View file

@ -1,5 +1,8 @@
interface Event {
// FIXME: second parameter: 'optional EventInit eventInitDict = {}'
constructor(DOMString type);
readonly attribute DOMString type;
readonly attribute EventTarget? target;
readonly attribute EventTarget? srcTarget;