1.0.8 • Published 5 years ago

lxc-loading v1.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

lxc-loading

纯css实现的一款简单实用的vue加载动画插件,效果如下

Image text

1. npm安装

  npm install lxc-loading  --save

2. man.js 引用

  import lxcLoading from 'lxc-loading'  
  Vue.use(lxcLoading)

3. 在页面中使用

 <template>
  <div>
    <lxc-loading/>
  </div>
 </template>

4. api

属性说明类型默认值参数
loading是否显示加载插件Booleanfalsetrue/false
type加载动画样式Stringbouncebounce/line/semicircle
offsetTop浏览器顶部偏移距离String0pxpx、rem、% 常用的单位属性
showBg是否显示加载插件背景色Booleantruetrue/false
bgColor插件背景色设置Stringrgba(0,0,0,.9)rgb()、rgba()、#333 等常用css颜色属性
zIndex插件层级,当插件层级不够时调节String/Number999

后续会新增其他各种漂亮的css loaing

欢迎issues https://github.com/luoxuancong/lxc-loading/issues

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago