@jworkshop/loadimage

Load image(s) asynchronously.

loadimage

Load image(s) asynchronously. Returns null if image fails to load.

install

Usage

import loadImage from "@jworkshop/loadImage";

let yourImage = loadImage("<your image URL>");

let imageURLs = [ ... ];

let yourImages = loadImage(imageURLs);

HomePage

https://github.com/JWorkshop/loadimage#readme

Repository

git://github.com/JWorkshop/loadimage.git


相关推荐