README
skrlspeed
Scroll speed controller
Install
npm install --save skrlspeed
component install andrepolischuk/skrlspeed
API
skrlspeed([element])
Create controller for element
, default document
var ctrlElement = skrlspeed(document.querySelector('.element'));
var ctrlPage = skrlspeed();
.set(factor)
Set speed factor, default 1
skrlspeed().set(-1);
.clear()
Set default speed factor
License
MIT