d4nyll / lethargy

Distinguish between scroll events initiated by the user, and those by inertial scrolling
http://d4nyll.github.io/lethargy/
MIT License
556 stars 47 forks source link

Demo with changable parameters? #22

Closed katerlouis closed 6 years ago

katerlouis commented 6 years ago

http://jsfiddle.net/q6reLg0v/ The jsfiddle demo is nice, but not of much use when testing custom options.

If you don't have the time to make a dynamic demo, can you tell a way on how to hijack the fiddle? I don't find the initialization of lethargy in the js-code there.

Thanks!

d4nyll commented 6 years ago

@katerlouis Apologies for the late reply.

That demo is not a demo of lethargy. It's just a way for you to see the delta values of your scroll. This is the demo for lethargy, which you can download and update the parameters passed to the constructor.