1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 22:28:12 +00:00
serenity/Userland/Libraries/LibWeb/DOM/CustomEvent.idl
2021-09-29 19:38:41 +02:00

14 lines
424 B
Text

#import <Event.idl>
[Exposed=(Window,Worker), CustomVisit]
interface CustomEvent : Event {
constructor(DOMString type, optional CustomEventInit eventInitDict = {});
readonly attribute any detail;
undefined initCustomEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false, optional any detail = null);
};
dictionary CustomEventInit : EventInit {
any detail = null;
};