Notify President Madagascar
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    animo-corepublic

    animo-core

    animo animation core.

    Install

    ❯ yarn add animo-core

    Usage

    import animo from 'animo-core';
     
    const flashAnimation = (el) => {
      return new animo(el, {
        isAnimation: true,
        onComplete: function(element) {
          el.classList.remove('animated', 'flash')
        },
        onIteration: function(element) {
          el.classList.add('animated','flash')
        }
      })
    }

    Options

    {
      iterate: 1,
      isAnimation: false,
      onComplete: () => {},
      onIteration: () => {},
      onMount: () => {}
    }

    install

    npm i animo-core

    Downloadslast 7 days

    21

    version

    1.0.8

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar