digital-clock-vue
A digital clock simulation build on Vue.
without seconds:
You can also use the digital-number component.
Installation
via NPM:
npm install --save digital-clock-vue
via Yarn:
yarn add digital-clock-vue
Usage
components: DigitalClockVue DigitalNumber
Props
Prop | Type | Desc |
---|---|---|
color |
String | CSS color for digital number and twink. |
showSeconds |
Boolean | Determine whether to show seconds, default is false. |
Examples
<!-- recommend aspect ratio 4:1 --> <!-- recommend aspect ratio when without seconds 8:3 --> <!-- digital number -->