Skip to content

Releases: callmecavs/layzr.js

v1.4.2

10 Jul 03:11
Compare
Choose a tag to compare
  • Small optimization to _getOffset helper - it now uses getBoundingClientRect.
  • Small language tweaks, for consistency.

v1.4.1

09 Jul 15:08
Compare
Choose a tag to compare

Usage documentation improvements.

v1.4.0

27 May 00:45
Compare
Choose a tag to compare

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

24 May 20:34
Compare
Choose a tag to compare

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

20 May 15:57
Compare
Choose a tag to compare

Layzr is now on CDNs.

Huge thanks to @irazasyed!

v1.2.2

15 May 21:54
Compare
Choose a tag to compare

Fix bug in "element in viewport" calculation.

v1.2.1

13 May 22:57
Compare
Choose a tag to compare

Make options optional (oops).

v1.2.0

11 May 00:46
Compare
Choose a tag to compare

Added data-layzr-hidden attribute support.

v1.1.5

08 May 22:02
Compare
Choose a tag to compare

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

v1.1.4

04 May 01:25
Compare
Choose a tag to compare