animo-countdown

    1.0.8 • Public • Published

    animo-countdown

    animo countdown bar.

    Install

    ❯ yarn add animo-countdown
    

    Usage

    import countdown from 'animo-countdown';
     
    countdown(document.querySelector('.some-element'), { total: 90 })
      .then(function() {
        /* ... */
      })
      .catch(function(err) {
        /* ... */
      })

    Options

    {
      color: '#ddd',
      elapsed: 0,
      total: 60
    }

    Install

    npm i animo-countdown

    DownloadsWeekly Downloads

    106

    Version

    1.0.8

    License

    MIT

    Last publish

    Collaborators

    • thrivingkings