mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 10:19:03 +03:00
8f110e0fb1
No interfaces require wrappers anymore, so we can just make this the default mode.
15 lines
415 B
Plaintext
15 lines
415 B
Plaintext
#import <DOM/Event.idl>
|
|
|
|
[Exposed=(Window,Worker)]
|
|
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;
|
|
};
|