vue-clock2

1.1.5 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i vue-clock2

Weekly Downloads

155

Version

1.1.5

License

MIT

Unpacked Size

153 kB

Total Files

15

Last publish

Collaborators

  • bestvist