scrollfps.js
v0.3.0
Published
A little library that could make your site scroll faster.
Readme
scrollfps.js
A little library that could make your site scroll faster.
Installation
With component(1):
$ component install strangeworks/scrollfps.jsWith a stand-alone build
<script src='scrollfps.min.js'></script>Usage
- Add
data-scrollfpsto<body>tag.
<html>
...
<body data-scrollfps>
...
</body>
</html>- Call scrollfps inside your domready handler
var scrollps = require('scrollfps.js'),
domready = require('domready')
domready(function() {
scrollfps();
})