Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dipcode-software/jquery-laziness
jQuery plugin to images lazy loading
https://github.com/dipcode-software/jquery-laziness
image-loader jquery jquery-plugin lazyload-images
Last synced: about 7 hours ago
JSON representation
jQuery plugin to images lazy loading
- Host: GitHub
- URL: https://github.com/dipcode-software/jquery-laziness
- Owner: dipcode-software
- Created: 2014-11-28T11:03:40.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-28T15:16:28.000Z (almost 10 years ago)
- Last Synced: 2024-04-23T21:28:46.240Z (7 months ago)
- Topics: image-loader, jquery, jquery-plugin, lazyload-images
- Language: JavaScript
- Homepage:
- Size: 172 KB
- Stars: 1
- Watchers: 10
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
laziness
========jQuery plugin to images lazy loading.
Example:
--------
::$(document).ready(function() {
$(document).laziness({
selector: 'img[data-src]', // image selector on selected container
attribute: 'data-src', // imagesrc html attribute
onload: null, // callback called on each image load
threshold: 200, // load images earlier, ex: 200px earlier
});});