2021-10-01 18:01:20 +03:00
|
|
|
#import <DOM/Event.idl>
|
2021-09-29 20:32:29 +03:00
|
|
|
|
2023-09-03 02:00:01 +12:00
|
|
|
[Exposed=(Window,Worker)]
|
2021-09-27 16:10:56 +01:00
|
|
|
interface CustomEvent : Event {
|
2021-09-29 20:32:29 +03:00
|
|
|
constructor(DOMString type, optional CustomEventInit eventInitDict = {});
|
2021-09-27 16:10:56 +01:00
|
|
|
|
|
|
|
readonly attribute any detail;
|
|
|
|
|
|
|
|
undefined initCustomEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false, optional any detail = null);
|
|
|
|
};
|
2021-09-29 20:32:29 +03:00
|
|
|
|
|
|
|
dictionary CustomEventInit : EventInit {
|
|
|
|
any detail = null;
|
|
|
|
};
|