# vload

> loading加载器，8k

Latest version **1.0.3** (published 2018-01-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install vload
pnpm add vload
yarn add vload
bun add vload
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2018-01-12 |
| First published | 2018-01-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 5 |
| Author | 张应颖 |
| Maintainers | zooey1184 |

## Links

- npm: https://www.npmjs.com/package/vload
- Repository: https://github.com/zooey1184/vload
- Homepage: https://github.com/zooey1184/vload#readme
- Issues: https://github.com/zooey1184/vload/issues
- npm.io page: https://npm.io/package/vload

## Dependencies (1)

- [vue](https://npm.io/package/vue.md) ^2.5.11

## Recent versions

- 1.0.3 (latest) — 2018-01-12
- 1.0.2 — 2018-01-12
- 1.0.1 — 2018-01-11
- 1.0.0 — 2018-01-11

## README

# vload

> A Vue.js project

## Build Setup

``` bash
# 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](http://vuejs.github.io/vue-loader).


### <font color=#C71585>使用方式</font>
```js
// 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'})

```
###### <font color=#e47128>【可选配置】</font>
设置 | 值 | 解释
----|------|----
title | String  | 加载文字
bgWrap | String  | 蒙版颜色
background | String  | 加载框颜色
stroke | String  | 加载器颜色
color | String  | 文本颜色

---
_Source: https://npm.io/package/vload · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
