zenscroll
zenscroll copied to clipboard
A JavaScript module to smooth-scroll web pages and other scrollable elements
Hey, great package! Recently noticed an issue where zenscroll will not successfully scroll to any element contained in a `position: relative` div. Demo here: http://requirebin.com/?gist=ae3708359c2ad71651d03fb9bdfc9115 In it, you will see...
sorry if this may seems a stupid question is it possible to convert zen scroll to a user script, in order to get an overall smoother scroll for every page,...
I stumbled on an issue where the scroller will stop scrolling midway during a scroll. This would happen occasionally if the user was calling scrollToY repeatedly. I haven't checked other...
The 4 scrolling functions have a parameter onDone, but there is no way of setting up a default onDone function for every anchor link scrolling, if finished.
Here is the code I would like to simplify ```js const scrollerHeight = container.clientHeight const scrollerY = scroller.getY() const targetHegiht = target.clientHeight const targetY = scroller.getTopOf(target) if (targetY + targetHegiht...
I created declaration file for zenscroll in here [@types/zenscroll](https://www.npmjs.com/package/@types/zenscroll) `npm install --save @types/zenscroll`
This badge will show the library version on CDNJS!
Here a simple typescript definition for the class, it comes handy in a typescript and module/AMD environment.