alexfoxy / lax.js

Simple & lightweight (<4kb gzipped) vanilla JavaScript library to create smooth & beautiful animations when you scroll.
MIT License
10.43k stars 491 forks source link

Creating a toggle that turns Lax on and off #184

Open nreck opened 1 year ago

nreck commented 1 year ago

I've been trying to find a way to have a button toggle lax on and off. I can't find any command in the documentation. I've tried this, but it seems to be outdated: https://github.com/alexfoxy/lax.js/issues/76