1.0.8 • Published 7 years ago
animo-countdown v1.0.8
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
}