Releases: callmecavs/layzr.js
Releases · callmecavs/layzr.js
v2.2.2
v2.2.1
Update README to accommodate the license change.
v2.2.0
Change license back to MIT.
v2.1.0
Upgraded build system.
Hat tip to Rich Harris - switching from browserify to rollup shrank the processed dist file from ~4kb to ~2.5kb.
v2.0.4
Specify GPL license version (3.0).
v2.0.3
Change license to GPL.
v2.0.2
Fix initial scroll position bug, preventing images in the initial viewport from loading (another find by @ndimatteo).
v2.0.1
Fix bug in threshold calculation (good find by @ndimatteo).
v2.0.0
Layzr has been completely rewritten in ES6. The source code has a much more functional feel to it, and it includes an updated build system.
It is still small, fast, and purely vanilla JavaScript. Please read through the new README after reviewing the list of changes below:
Added
srcsetsupport- event emitter
- example code
CONTRIBUTING.md
Improved
- API
- handling of dynamically added elements
- image setup/configuration
- documentation
Removed
- Bower support (use npm instead)
- DOM ready state checking (replace based on your environment)
containeroption (assumed to be thewindow)selectoroption (assumed to be the newdata-normalattribute)data-layzr-bgoption (can be replicated using the new event emitter)data-layzr-hiddenoption (replaced by the newupdateAPI method)callbackoption (replaced by the event emitter)- ~ 40 lines of source code
v1.4.3
- Fixed
destroymethod. Big thanks to @mauriciosoares and @NeXTs.