CloseEvent.idl 396 B

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