UNPKG
remoteview
Version:
latest (2.40.2)
2.40.2
2.39.1
Remote isolated browser platform by Dosyago
gitlab.com/i5ik/Viewfinder
i5ik/Viewfinder
remoteview
/
public
/
loader_progress.js
10 lines
(8 loc)
•
280 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
const
progress =
document
.
currentScript
.
previousElementSibling
;
const
runner =
setInterval
(
() =>
{
if
( progress.
value
< progress.
max
) { progress.
value
+=
1
; }
else
{
clearInterval
(runner); } },
17
);