2021-10-01 19:30:50 +03:00
|
|
|
#import <DOM/Event.idl>
|
2023-11-08 11:04:56 -07:00
|
|
|
#import <HTML/Window.idl>
|
2021-10-01 19:30:50 +03:00
|
|
|
|
2022-10-07 16:45:09 -06:00
|
|
|
// https://w3c.github.io/uievents/#uievent
|
2023-09-03 02:00:01 +12:00
|
|
|
[Exposed=Window]
|
2020-07-28 19:38:25 +02:00
|
|
|
interface UIEvent : Event {
|
2021-10-01 19:30:50 +03:00
|
|
|
constructor(DOMString type, optional UIEventInit eventInitDict = {});
|
2024-11-17 21:54:03 +01:00
|
|
|
readonly attribute WindowProxy? view;
|
2021-10-01 19:18:19 +03:00
|
|
|
readonly attribute long detail;
|
2022-02-25 17:31:56 +01:00
|
|
|
|
2023-10-25 17:27:19 +02:00
|
|
|
// Obsolete
|
2024-11-17 21:54:03 +01:00
|
|
|
[ImplementedAs=init_ui_event] undefined initUIEvent(DOMString typeArg, optional boolean bubblesArg = false, optional boolean cancelableArg = false, optional WindowProxy? viewArg = null, optional long detailArg = 0);
|
2022-04-09 12:45:05 -03:00
|
|
|
readonly attribute unsigned long which;
|
2020-12-09 21:26:42 +00:00
|
|
|
};
|
2021-10-01 19:30:50 +03:00
|
|
|
|
2023-10-25 17:27:19 +02:00
|
|
|
// https://w3c.github.io/uievents/#idl-uieventinit
|
2021-10-01 19:30:50 +03:00
|
|
|
dictionary UIEventInit : EventInit {
|
2024-11-17 21:54:03 +01:00
|
|
|
WindowProxy? view = null;
|
2021-10-01 19:30:50 +03:00
|
|
|
long detail = 0;
|
|
|
|
|
};
|