JSFiddle - React, Tailwind, and code Playground

by Julien MBA-NDONG

JavaScript

var myImg = new Image();

myImg.src = 'C:\Users\Public\Pictures\Sample Pictures\Penguins.jpg';

myImg.onload = function() { // Il est bien entendu possible d'utiliser le DOM-2
       console.log("onload");
};