1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 12:17:45 +00:00

LibWeb: Add the missing UIEvent IDL constructor

This commit is contained in:
Idan Horowitz 2021-10-01 19:30:50 +03:00 committed by Andreas Kling
parent 7b2c63fd87
commit ac25c28c43
3 changed files with 28 additions and 3 deletions

View file

@ -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;
};