Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite0
Javascript canvas image causes TypeError despite using window.onload
I'm trying to import an image to the canvas. I loaded the image in window onload. I tested the image in an <img> tag and it loads. I have no idea why it won't work. I preloaded it and tested the url. https://code.sololearn.com/WK23x01EHA19/?ref=app
1 Réponse
0
Mirielle Thanks