1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-13 16:47:36 +00:00
serenity/Userland/Libraries/LibWeb/UIEvents/UIEvent.idl
Andreas Kling d0ab546d7a LibWeb: Implement UIEvent.initUIEvent()
1% progression on ACID3. :^)
2022-02-25 19:38:31 +01:00

15 lines
621 B
Text

#import <DOM/Event.idl>
interface UIEvent : Event {
constructor(DOMString type, optional UIEventInit eventInitDict = {});
readonly attribute Window? view;
readonly attribute long detail;
// NOTE: This is "deprecated, but supported for backwards-compatibility with widely-deployed implementations."
[ImplementedAs=init_ui_event] undefined initUIEvent(DOMString typeArg, optional boolean bubblesArg = false, optional boolean cancelableArg = false, optional Window? viewArg = null, optional long detailArg = 0);
};
dictionary UIEventInit : EventInit {
Window? view = null;
long detail = 0;
};