mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
7f551d7f6a
This allows us to include IDL files from other base LibWeb directories wihout using relative `../foo.idl` references.
15 lines
428 B
Plaintext
15 lines
428 B
Plaintext
#import <DOM/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;
|
|
};
|