Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 500 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 500 Bytes

jQuery Preload Plugin

Tiny image preloader using deferred's promise object.

Plugin has AMD (Asynchronous Module Definition) support.

Usage

// Preload image sources in figure element
$( 'figure' ).preload();

// Preload images from array
$.preload([ 'www.example.com/image.jpg', 'www.example.com/picture.png' ]);

License

Copyright (c) 2013 Anton Yefremov
Free to use and abuse under the MIT license.
http://opensource.org/licenses/MIT