ladybird/Userland/Libraries/LibWeb/HTML/CloseEvent.idl
2023-03-05 18:25:59 +00:00

17 lines
421 B
Plaintext

#import <DOM/Event.idl>
[Exposed=*, UseNewAKString]
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 = "";
};