14 lines
431 B
Text
14 lines
431 B
Text
#import <DOM/Event.idl>
|
|
|
|
[Exposed=(Window,Worker), UseNewAKString]
|
|
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;
|
|
};
|