animo-animate
animo animation handler.
Install
❯ yarn add animo-animate
Usage
import animate from 'animo-animate';
animate(document.querySelector('.some-element'), { classNames: ['animated', 'bounce'] })
.then(function() {
/* ... */
})
.catch(function(err) {
/* ... */
})
Options
{
classNames: ['animated'],
keep: false
}