Layzr.js Versions Save

A modern lazy loading library for images.

v1.4.2

8 years ago
  • Small optimization to _getOffset helper - it now uses getBoundingClientRect.
  • Small language tweaks, for consistency.

v1.4.1

8 years ago

Usage documentation improvements.

v1.4.0

8 years ago

Added the container option!

Images can now be loaded based on their position within a designated container (it no longer has to be the window). Hopefully this will be useful for those building single page applications.

Huge thanks to @wong2, who created the prototype for this functionality (see #27).

v1.3.0

8 years ago

Workflow improvements!

  • The main library file now lives in the src folder
  • The normal and minified files for production now live in the dist folder
    • UMD wrapper, and versioning comments, are added via gulp plugins - less ugliness in the source!

v1.2.3

8 years ago

Layzr is now on CDNs.

Huge thanks to @irazasyed!

v1.2.2

8 years ago

Fix bug in "element in viewport" calculation.

v1.2.1

8 years ago

Make options optional (oops).

v1.2.0

8 years ago

Added data-layzr-hidden attribute support.

v1.1.5

8 years ago

Updated all documentation, and moved it to the GitHub README.

v1.1.4

9 years ago