Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Web-Development
/ updateImage
Function
updateImage
Iphone animations/index.js:27–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
25
context.drawImage(img, 0, 0);
26
}
27
const
updateImage=index=>{
28
img.src = currentFrame(index);
29
context.drawImage(img, 0, 0);
30
}
31
32
//changing images on scroll
33
Callers
1
index.js
File · 0.85
Calls
1
currentFrame
Function · 0.85
Tested by
no test coverage detected