Added a progressbar

This commit is contained in:
2025-11-10 15:38:59 +01:00
parent 26f8715ae8
commit f4c45f8371
3 changed files with 33 additions and 0 deletions
+6
View File
@@ -29,3 +29,9 @@ function handleFiles(files) {
}
}
}
function updateProgressBar(bar, value){
value = Math.round(value);
bar.querySelector(".progress_fill").style.width = `${value}%`;
bar.querySelector(".progress_text").textContent = `${value}%`;
}