📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

vue-clock2

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-clock2

Vue component with clock.

1.1.5
latest
Source
npm
Version published
Maintainers
1
Created
Source

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

PropertyDescriptionTypeAccepted ValuesDefault
timetime to displayString--
colorcolor to displayString--
borderclock border styleString-'2px solid'
bgclock background styleString--
sizesize to displayString-150px

License

MIT

Keywords

vue

FAQs

Package last updated on 15 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts