Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 470 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 470 Bytes

Image Loader

Simple helper module for image preloading:

  • preload images by urls
  • set css class ("loaded") for loaded img tags
  • append preloaded image as img or set it as css background

imagesLoaded is used for checking image loaded status.

####Install

Include imageLoader.pkgd.min.js and jQuery in your project.

####Usage

Check imageLoader.js for public api and check test/ for example usage.