A digital clock component built with Vue.js
With NPM:
npm install --save vue-digital-clock
With Yarn
yarn add vue-digital-clock
And import it into your project
import Clock from 'vue-digital-clock'
Prop | Type | Usage |
---|---|---|
blink | Boolean | Set as true to have the semi colon blink with the seconds |
displaySeconds | Boolean | Set as true to display seconds |
<template>
<Clock :blink="true" />
</template>
<script>
import Clock from 'vue-digital-clock'
export default {
name: 'app',
components: {
Clock,
},
}
</script>