0.0.2 • Published 5 years ago
vue-simple-clock v0.0.2
vue-simple-clock
A Vue.js simple-clock
安装
$ npm install vcolorpicker -S
使用
# maim.js
import Clock from './lib/index.js'
Vue.use(Clock)
页面里使用
<template>
<Clock :bg="bg"></Clock>
</template>
参数
参数 | 默认值 | 类型 |
---|---|---|
bg | #fff | String,Number |
time | 当前系统时间 | String(00:00:00) |