Smooth scroll using requestAnimationFrame.
npm install
gulp
Use gulp
to automatically recompile when you make changes.
Alternatively, you can use gulp compile
to recompile only when needed.
Import the lib in your project and instantiate it... and you're done !
new SmoothScroll();