1.0.8 • Published 7 years ago
animo-rotate v1.0.8
animo-rotate
animo rotation.
Install
❯ yarn add animo-rotate
Usage
import rotate from 'animo-rotate';
rotate(document.querySelector('.some-element'), { deg: 90 })
.then(function() {
/* ... */
})
.catch(function(err) {
/* ... */
})
Options
{
interval: 1000,
iterate: 1,
deg: 180,
keep: false,
timing: 'linear'
}