mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 06:57:35 +00:00

The intent is to use these to autogenerate prototype declarations for Window and WorkerGlobalScope classes. And the spec links are just nice to have :^)
19 lines
726 B
Text
19 lines
726 B
Text
#import <DOM/Event.idl>
|
|
|
|
// https://w3c.github.io/uievents/#uievent
|
|
[Exposed=Window]
|
|
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);
|
|
|
|
readonly attribute unsigned long which;
|
|
};
|
|
|
|
dictionary UIEventInit : EventInit {
|
|
Window? view = null;
|
|
long detail = 0;
|
|
};
|