Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/huacnlee/jquery.lazyimg
Image lazy load plugin for jQuery, fork from jquery.unveil to improve performance with huge DOMs.
https://github.com/huacnlee/jquery.lazyimg
Last synced: 21 days ago
JSON representation
Image lazy load plugin for jQuery, fork from jquery.unveil to improve performance with huge DOMs.
- Host: GitHub
- URL: https://github.com/huacnlee/jquery.lazyimg
- Owner: huacnlee
- Created: 2014-09-28T10:02:36.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2020-11-13T11:23:30.000Z (almost 4 years ago)
- Last Synced: 2024-10-04T13:09:10.216Z (about 1 month ago)
- Language: CoffeeScript
- Homepage: http://huacnlee.github.io/jquery.lazyimg
- Size: 14.6 KB
- Stars: 23
- Watchers: 7
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
jquery.lazyimg
==============Lazyload image plugin for jQuery.
This project is fork from [jquery.unveil](https://github.com/luis-almeida/unveil), to improve performance with huge DOMs.## Feature
- Lazyload images;
- Retina display support;
- Only 2 events binding (scroll, resize for responsive), even you call `lazyimg()` over again and again;
- No events binding on IMG elements;
- Very small, just 1.3 Kb (not compress);
- Very fast;
- Responsive page support.## Changelogs
You can see all of the release notes in here: [Release notes](https://github.com/huacnlee/jquery.lazyimg/releases)
## Browser support
- Safari
- Chrome
- Firefox
- IE6+## Demo
You can try the [Demo app](https://huacnlee.github.io/jquery.lazyimg).
## Usage
```html
$("body").lazyimg();
```
## Build
```
$ bundle install
$ rake watch # or use "rake build" to release
```## License
Apache V2 : https://choosealicense.com/licenses/apache