CloseEvent.idl 393 B

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