Skip to content
Branch: master
Clone or download
bestvist
bestvist update dev
Latest commit 9d7f25f Jan 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist modify: clock second Nov 15, 2018
docs Update index.html Dec 21, 2018
src modify: clock second Nov 15, 2018
.babelrc build: vue-clock Oct 11, 2018
.eslintignore build: vue-clock Oct 11, 2018
.eslintrc.js build: vue-clock Oct 11, 2018
.gitignore build: vue-clock Oct 11, 2018
LICENSE modify: clock second Nov 15, 2018
README.md modify: clock second Nov 15, 2018
clock-color.png
clock.png build: clock.png Oct 11, 2018
package.json update dev Jan 5, 2019
webpack.config.js build: vue-clock Oct 11, 2018

README.md

vue clock2

npm version downloads license MIT

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

You can’t perform that action at this time.