Lax.js Versions Save

Simple & lightweight (<4kb gzipped) vanilla JavaScript library to create smooth & beautiful animations when you scroll.

v1.0.5

5 years ago

v1.0.4

5 years ago

Lax builds a list of all elements it needs to control when the page loads so if they are added to the DOM subsequently they won't be updated on page scroll. If you're using a library like React or vue.js, it is likely that not all elements are in the dom on page load. Because of this you will need to call lax.populateElements() when you add elements to the DOM that you want to animate.

v1.0.3

5 years ago

v1.0.2

5 years ago

Moved babel from dependancies to devDependancies in package.json

v1.0.1

5 years ago

v1.0

5 years ago