diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2021-10-01 19:30:50 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-01 20:14:45 +0200 |
commit | ac25c28c4359e8d4cc59196e5f76141044238921 (patch) | |
tree | cad42559d6c4838c3388cb8ce52dc7ee89bc632f /Userland/Libraries/LibWeb/UIEvents/UIEvent.idl | |
parent | 7b2c63fd87751fa6cde41bc2b73ce549f7676175 (diff) | |
download | serenity-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.idl | 8 |
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; +}; |