mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 05:55:06 +00:00
20 lines
703 B
Text
20 lines
703 B
Text
#import <DOM/Event.idl>
|
|
#import <HTML/Window.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;
|
|
|
|
// Obsolete
|
|
[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;
|
|
};
|
|
|
|
// https://w3c.github.io/uievents/#idl-uieventinit
|
|
dictionary UIEventInit : EventInit {
|
|
Window? view = null;
|
|
long detail = 0;
|
|
};
|