@nylira/vue-countdown
v2.1.1
Published
Countdown component for Vue 2.
Downloads
4
Readme
vue-countdown
Countdown component for Vue 2.
Installation
npm install @nylira/vue-countdown
Usage
<template>
<countdown date="February 28, 2017"></countdown>
</template>
<script>
import Countdown from '@nylira/vue-countdown'
export default {
components: {
Countdown
}
}
</script>
<style>
.ny-countdown {
width: 320px;
}
</style>
Parameters
<countdown units="short"></countdown>
// for D, H, M, S labels instead of Days, Hours, Minutes, Seconds