Smooth window scroll to position with requestAnimationFrame
Smooth window scroll to position with requestAnimationFrame and Tween.
$ component install component/scroll-to
Scroll to the given point
(x, y) with the given
easeeasing function defaulting to "out-circ" (view ease for more)
durationanimation duration defaulting to
var scrollTo = require'scroll-to';scrollTo500 1200ease: 'out-bounce'duration: 1500;