blob: 7abf0cb6a43b9eb4174652093ac052c7187d433f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#import <DOM/Event.idl>
interface CloseEvent : Event {
constructor(DOMString type, optional CloseEventInit eventInitDict = {});
readonly attribute boolean wasClean;
readonly attribute unsigned short code;
readonly attribute USVString reason;
};
dictionary CloseEventInit : EventInit {
boolean wasClean = false;
unsigned short code = 0;
USVString reason = "";
};
|