mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
Added a progressbar
This commit is contained in:
@@ -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}%`;
|
||||
}
|
||||
Reference in New Issue
Block a user