0.1.1 • Published 2 years ago

@byunmaster/image-preloader v0.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Image Preloader

Preload and cache images using shadow dom.

You can prevent images from momentarily not being visible when loading them for the first time in SPA.

Installation

npm install @byunmaster/image-preloader

Usage

import { imagePreload } from '@byunmaster/image-preloader';

imagePreload(['image url', 'image url', ...]);

Support

https://caniuse.com/shadowdomv1

0.1.1

2 years ago

0.1.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago