1.0.0 • Published 5 years ago
smooth_animation v1.0.0
What is it
Smooth Slow Animation Small Algorithms
Installation
NPM
npm install smooth_animation
Examples
var Math = require('smooth_animation');
var doc = document.body.scrollTop? document.body : document.documentElement;
Math.easeout(doc.scrollTop, 0, 4, function (value) {
doc.scrollTop = value;
});
1.0.0
5 years ago