1.0.3 • Published 5 years ago
image-loading-handler v1.0.3
You should use separate polyfill for Promise for IE 11
- to install
npm i image-loading-handler -D
- to use
import imageLoaderHandler from 'image-loading-handler'
- to use
API imageLoaderHandler(array, callback, dellay)
:
array
- list of imagescallback
- function that call after images loadeddellay
(not mandatory) - dellay before force call callback