1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-25 05:12:06 +00:00
serenity/Userland/Libraries/LibWeb/UIEvents/UIEvent.idl
Shannon Booth d4a890080d LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString
NewAKString is effectively the default for any new IDL interface, so
let's mark this as the default behavior. It also makes it much easier to
figure out whatever interfaces are still left to port over to new AK
String.
2023-09-02 19:23:41 +01:00

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