vue-countdown
Install
npm install vue-countdown2 -S yarn add vue-countdown2
QuickStart
; // in ES6 modules; // in CommonJSconst countdown = ; // in Global variableconst countdown = VueCountdown; Vue;
Params
props
starttime
: the count down startTime,type Number,unit is millisecondendtime
: the count down entTime,type Number,unit is millisecondsecond
: type Boolean,whether to show seconds