+ 2
Load Images Before Application Start
I have multiple images to be loaded and I want to load them all before displaying them. How can i do that with JS.
2 odpowiedzi
+ 6
Count in load event listener of images, and call the callback function when counter reaches total number of images.
https://code.sololearn.com/Wugdyk32iG41/?ref=app
0
@Gordon Big thanks man