0
How can I show a background-image when the image is completely loaded in a div with javascript?
The background-image load lowly then I need show it just when it's completely downloaded pls help :(
1 Réponse
+ 1
by assigning onload callback for Image() object.
https://code.sololearn.com/WgJfIUJ1tX7j/?ref=app