2021-10-01 18:55:24 +03:00
|
|
|
#import <DOM/Event.idl>
|
|
|
|
|
|
2021-01-23 17:50:22 +00:00
|
|
|
interface ProgressEvent : Event {
|
2021-10-01 18:55:24 +03:00
|
|
|
constructor(DOMString type, optional ProgressEventInit eventInitDict = {});
|
2021-01-23 17:50:22 +00:00
|
|
|
|
|
|
|
|
readonly attribute boolean lengthComputable;
|
|
|
|
|
readonly attribute unsigned long loaded;
|
|
|
|
|
readonly attribute unsigned long total;
|
2021-10-01 18:55:24 +03:00
|
|
|
};
|
2021-01-23 17:50:22 +00:00
|
|
|
|
2021-10-01 18:55:24 +03:00
|
|
|
dictionary ProgressEventInit : EventInit {
|
|
|
|
|
boolean lengthComputable = false;
|
|
|
|
|
unsigned long loaded = 0;
|
|
|
|
|
unsigned long total = 0;
|
2021-01-23 17:50:22 +00:00
|
|
|
};
|