@iignatov l’ll try that tonight when I come home. Am I correct if I say the e
is an event object? If so what event is it?
If you look at my onProgress
function, it already recieves an event.
onProgress = (progressEvent: ProgressEvent) : void => {
if (progressEvent.lengthComputable) {
this.progress = Math.round((progressEvent.loaded / progressEvent.total) * 100);
console.log("Progress: ", this.progress);
}
}