anima-countdown

2.0.1 • Public • Published

anima-countdown


anima countdown

Install

$ npm install anima-countdown --save

Usage

var CountDown = require('anima-countdown');
// use CountDown
 
new CountDown({
    count: 0, // 时间差,单位为毫秒
    el: 'body', // 显示倒计时的容器选择符
    tpl: '<%=hour%>时<%=minute%>分<%=second%>秒', //倒计时模板,支持day,hour,minute,second占位符
    cbk: function(){} // 倒计时结束回调函数
})
 

Readme

Keywords

Package Sidebar

Install

npm i anima-countdown

Weekly Downloads

6

Version

2.0.1

License

none

Last publish

Collaborators

  • jaredleechn
  • smbey0nd
  • yuanfei.gyf