MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / frame

Function frame

assets/js/progressbar.js:23–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 var id = setInterval(frame, 10);
22
23 function frame(){
24 if(width >= 80){
25 clearInterval(id);
26 i = 0;
27 }else {
28 width++;
29 progress.style.width = width + '%';
30 progress.textContent = width + '%';
31 }
32 }
33
34
35 } else if( moveBtn.contains('btn-css')){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected