1.0.2 • Published 5 years ago
yls-countdown1 v1.0.2
yls-countdown
vue 倒计时组件
安装 (The installation)
npm install yls-countdown1 --save-dev
使用(use)
<countdown :startTime="startTime" :endTime="endTime" :callback="callback" endText="倒计时结束了"></countdown>
startTime = Date.parse(new Date()).toString().substring(0, 10);//时间格式
endTime = '';
callback:function(){}//时间结束时触发方法