alexfoxy / lax.js

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

getValueFn doesn't receive frame as argument #123

Closed arthurdenner closed 3 years ago

arthurdenner commented 3 years ago

lax.js version 2.0.2

Describe the bug The docs state that getValueFn receives the frame as an argument but that's not implemented.

Are the docs not up-to-date or should the code be updated?

Code N/A

alexfoxy commented 3 years ago

I will check it out

alexfoxy commented 3 years ago

@arthurdenner Fixed in v2.0.3 => https://github.com/alexfoxy/lax.js/releases/tag/v2.0.3

arthurdenner commented 3 years ago

Thanks @alexfoxy! I'll wrap up the v2 of use-lax very soon then!