summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/UIEvents/UIEvent.idl
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-10-01 19:30:50 +0300
committerAndreas Kling <kling@serenityos.org>2021-10-01 20:14:45 +0200
commitac25c28c4359e8d4cc59196e5f76141044238921 (patch)
treecad42559d6c4838c3388cb8ce52dc7ee89bc632f /Userland/Libraries/LibWeb/UIEvents/UIEvent.idl
parent7b2c63fd87751fa6cde41bc2b73ce549f7676175 (diff)
downloadserenity-ac25c28c4359e8d4cc59196e5f76141044238921.zip
LibWeb: Add the missing UIEvent IDL constructor
Diffstat (limited to 'Userland/Libraries/LibWeb/UIEvents/UIEvent.idl')
-rw-r--r--Userland/Libraries/LibWeb/UIEvents/UIEvent.idl8
1 files changed, 8 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/UIEvents/UIEvent.idl b/Userland/Libraries/LibWeb/UIEvents/UIEvent.idl
index 071dbffde9..d317d3011a 100644
--- a/Userland/Libraries/LibWeb/UIEvents/UIEvent.idl
+++ b/Userland/Libraries/LibWeb/UIEvents/UIEvent.idl
@@ -1,4 +1,12 @@
+#import <DOM/Event.idl>
+
interface UIEvent : Event {
+ constructor(DOMString type, optional UIEventInit eventInitDict = {});
readonly attribute Window? view;
readonly attribute long detail;
};
+
+dictionary UIEventInit : EventInit {
+ Window? view = null;
+ long detail = 0;
+};