vue-clock2

Vue component with clock.
8,402 85
Install
npm install vue-clock2
Latest Version:1.1.5
License:MIT
Last Updated:Nov 30, 2021
Links: GitHub  ·  npm
Maintainer: bestvist

vue clock component

Install

npm install vue-clock2

Example

Demo

<template>
  <clock :time="time"></clock>
</template>

<script>
  import Clock from 'vue-clock2';
  export default {
    components: { Clock },
    data () {
      return {
          time: '10:40:00'
      }
    }
  }
</script>

Styles

Props

Property Description Type Accepted Values Default
time time to display String - -
color color to display String - -
border clock border style String - '2px solid'
bg clock background style String - -
size size to display String - 150px

License

MIT

Related Packages

vue-analog-clock

基于Vue的模拟时钟组件

3,271 11
vue-html-analog-clock

Analog Clock Component for VueJS

687 0
vue2-timeago

A vue component used to format date with time ago statement.

107,009 86

Version History

Version Released License
1.1.5 MIT
1.1.3 MIT
1.1.2 MIT
1.1.1 MIT
1.1.0 MIT