Skip to content

yefremov/jquery-preload

Repository files navigation

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

About

Tiny image preloader using deferred's promise object

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published