1.0.5 • Published 2 years ago

wxy-box v1.0.5

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

mynpmtime

Project setup

npm install wxy-box

How to Use

在main.js文件中引入,并挂载到Vue实例

import wxy from 'wxy-box'
Vue.use(wxy)

在vue文件中就可以使用dateTime标签对 *可以为该标签绑定:styleobj="styleObj"属性,并且可以传递一个对象,其中有两个固定key值fontSize:number表示字体大小color:array表示文字颜色,(数组内支持所有颜色格式)如果数组内有两个颜色值就默认把文字颜色设为从上到下的渐变色,*

See the following code for this

<template>
  <div id="app">
      <dateTime :styleobj="styleobj"></dateTime>
  </div>
</template>
<script>
    export default{
      data() {
        return {
            styleObj: {
                fontSize: 25,
                color: ["#f00", "#00f"]
            },
        }
      },
    }
</script>

Customize configuration

See Configuration Reference.

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago