animo-animate

animo animation handler

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
animo-animate
1.0.86 years ago6 years agoMinified + gzip package size for animo-animate in KB

Readme

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
}