2.0.0 • Published 5 years ago

vue-digital-clock v2.0.0

Weekly downloads
170
License
-
Repository
github
Last release
5 years ago

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 DigitalClock from "vue-digital-clock";

Props

PropTypeUsage
blinkBooleanSet as true to have the colon blink with the seconds
displaySecondsBooleanSet as true to display seconds
twelveHourBooleanSet as true to display times with AM/PM

Example

<template>
  <digital-clock :blink="true" />
</template>

<script>
import DigitalClock from "vue-digital-clock";

export default {
  components: {
    DigitalClock
  }
};
</script>

Screenshot

vue-digital-clock screenshot