Cross browser responsive smooth scrolling for entire web applications.
While there currently is no formal demo site, if you want to see silk-scroll in action feel free to check out my Tumblr page where I'm currently using silk-scroll.
Installing silk-scroll on the client side is simple. Just download the minified file of the latest version and include it in your webpage:
<!-- Include the silk-scroll file --> <script src="path/to/silk-scroll.min.js"></script>
If you'd like to install silk-scroll on the server side using npm, it's as easy as:
npm install silk-scroll --save
To get the smooth scrolling ability on your webpage, all you need to do is include the minified file of the latest version in your application and then activate
// SilkScroll will already be a global object SilkScroll.active();
If you have silk-scroll installed on your Node application, you can use it on the server in Node like so:
const SilkScroll = require('silk-scroll'); SilkScroll.active();
Copyright (c) 2016 Nick Zuber