Optional
The ProgressEvent.loaded read-only property is a number indicating the size of the data already transmitted or processed. The progress ratio can be calculated by dividing the value of this property by ProgressEvent.total.
ProgressEvent.loaded
MDN Reference
The ProgressEvent.total read-only property is a number indicating the total size of the data being transmitted or processed.
ProgressEvent.total
Static
The
ProgressEvent.loadedread-only property is a number indicating the size of the data already transmitted or processed. The progress ratio can be calculated by dividing the value of this property by ProgressEvent.total.MDN Reference