1.0.3 • Published 6 years ago

m-best-loading v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

m-best-loading

This is a vue2.x based H5 mobile end component.

演示

live demo

依赖

vue2.x

使用方式

script标签

<script src="https://unpkg.com/m-best-loading@1.0.2/dist/m-best-loading.js"></script>
<script>
  Vue.use(MBestLoading)
  ...
</script>

npm安装

import Vue from 'vue'
import App from './App.vue'
import MBestLoading from 'm-best-loading'

Vue.use(MBestLoading)

配置项

keydescriptiondefaultoptions
type指定动画类型,该组件内置9种动画,spinnerrollingballbarseclipseellipsismagnifypacmanspinnerString
theme动画的主色调#FF0033String
size动画尺寸{width:'40px',height:'40px'}Object
status文本信息显示隐藏状态trueBoolean
text文本信息loading...String
direct布局方式,有水平方向、垂直方向两种,默认是水平方向trueBoolean
show控制整个loading组件显示隐藏trueBoolean
1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago