1.0.3 • Published 6 years ago

vload v1.0.3

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

vload

A Vue.js project

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

For detailed explanation on how things work, consult the docs for vue-loader.

使用方式

// main.js
import vload from 'vload'
Vue.use(vload)

// js
this.$load.show()
this.$load.hide()

// 配置项
// 使用this.$load.show()方法,里面的参数有两种,显示load的文字,默认无
// 【字符串】this.$load.show('加载中...')
// 【对象】this.$load.show({title: 'loading', bgWrap: 'red', background: '#fff', stroke: 'rgba(255,120,12,1)', color: 'white'})
【可选配置】
设置解释
titleString加载文字
bgWrapString蒙版颜色
backgroundString加载框颜色
strokeString加载器颜色
colorString文本颜色
1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago