1.0.0 • Published 2 years ago
inomjonbek-learn-npm-1 v1.0.0
IMG LOADER
Install
npm install pdp-b-18
using
import { imgLoading } from "./index.js";
const element = document.getElementById("img-wrapper");
const btn = document.getElementById("load-img-btn");
const imgURL =
"https://encrypted-ttatic.com/images?q=tbn:ANd9GcQgMqFgaGVGRBv0XVpDNPo_3mCruXsEbXwSag&usqp=CAU";
btn.addEventListener("click", () => imgLoading(imgURL, element, 4));
```"# learn-npm"
1.0.0
2 years ago