πŸ•š Simple digital clock built with Vue.js
Switch branches/tags
Nothing to show
Clone or download
Latest commit fed2a35 Oct 17, 2018

README.md

vue-digital-clock

A digital clock component built with Vue.js

Installation

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'

Props

Prop Type Usage
blink Boolean Set as true to have the colon blink with the seconds
displaySeconds Boolean Set as true to display seconds

Example

<template>
  <Clock :blink="true" />
</template>

<script>
import Clock from 'vue-digital-clock'

export default {
  name: 'app',
  components: {
    Clock,
  },
}
</script>

Screenshot

vue-digital-clock screenshot