[new feature] Loading: add circular type (#618)

This commit is contained in:
neverland
2018-02-07 16:35:24 +08:00
committed by GitHub
parent 6e00edac2d
commit 866aff9c45
8 changed files with 121 additions and 54 deletions
+7
View File
@@ -30,6 +30,13 @@ Vue.use(Loading);
<van-loading type="spinner" color="white" />
```
#### Circular
```html
<van-loading type="circular" color="black" />
<van-loading type="circular" color="white" />
```
### API
| Attribute | Description | Type | Default | Accepted Values |
+7
View File
@@ -30,6 +30,13 @@ Vue.use(Loading);
<van-loading type="spinner" color="white" />
```
#### Circular
```html
<van-loading type="circular" color="black" />
<van-loading type="circular" color="white" />
```
### API
| 参数 | 说明 | 类型 | 默认值 | 可选值 |