electronic-clocks
v1.1.0
Published
a electronic clocks plugin for vue3
Downloads
3
Maintainers
Readme
A electronic clock plugin for Vue3
This is a Vue 3 digital clock plugin, where you can customize the style of each pixel according to your preferences.
- install
npm install electronic-clocks
- use
import ElectronicClocks from 'electronic-clocks';
Vue.use(ElectronicClocks);
<electronic-clock />
- props
//是否开启彩色模式
isColorful: {
type: Boolean,
default: false,
},
//像素块的样式
itemStyle: {
type: Object,
default: () => ({}),
},
//更新频率
frequencyOfUpdates: {
type: Number,
default: 100,
},
//像素块背景色
backgroundColor: {
type: String,
default: "#000000",
},
//是否开启加载效果
isLoadingEffects:{
type: Boolean,
default: true,
}
preview defalut colorful
author yaohuiyuan[email protected]