1.2.0 • Published 8 years ago

v-count-down v1.2.0

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

v-count-down

Build Status codecov

A count down component implement by vuejs

Demo

Demo

Usage

Install

npm install v-count-down --save

And, if you are using vue 2.0

npm install v-count-down@next --save

CommonJS

var VueCountDown = require('v-count-down');

new Vue({
    components: {
        'vue-count-down': VueCountDown
    },
    template: '<vue-count-down duration="100000"></vue-count-down>'
});

ES6

import VueCountDown from 'v-count-down';

new Vue({
    components: {
        'vue-count-down': VueCountDown
    },
    template: '<vue-count-down duration="100000"></vue-count-down>'
})

Props

PropertyDescription
durationthe duration of the count down
endTimethe end time of the count down
onTimeOuttimeout handler of the count down

License

MIT

1.2.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago

0.0.1

8 years ago