chore: merge src and src-next

This commit is contained in:
chenjiahan
2020-07-15 20:02:00 +08:00
parent 6672b34618
commit 0304fcb6fa
382 changed files with 464 additions and 24746 deletions
+7 -7
View File
@@ -14,7 +14,7 @@ Vue.use(Circle);
### Basic Usage
```html
<van-circle v-model="currentRate" :rate="30" :speed="100" :text="text" />
<van-circle v-model:currentRate="currentRate" :rate="30" :speed="100" :text="text" />
```
```js
@@ -36,7 +36,7 @@ export default {
```html
<van-circle
v-model="currentRate"
v-model:currentRate="currentRate"
:rate="rate"
:stroke-width="60"
text="Custom Width"
@@ -47,7 +47,7 @@ export default {
```html
<van-circle
v-model="currentRate"
v-model:currentRate="currentRate"
:rate="rate"
layer-color="#ebedf0"
text="Custom Color"
@@ -58,7 +58,7 @@ export default {
```html
<van-circle
v-model="currentRate"
v-model:currentRate="currentRate"
:rate="rate"
:color="gradientColor"
text="Gradient"
@@ -83,7 +83,7 @@ export default {
```html
<van-circle
v-model="currentRate"
v-model:currentRate="currentRate"
:rate="rate"
:clockwise="false"
text="Counter Clockwise"
@@ -94,7 +94,7 @@ export default {
```html
<van-circle
v-model="currentRate"
v-model:currentRate="currentRate"
:rate="rate"
size="120px"
text="Custom Size"
@@ -107,7 +107,7 @@ export default {
| Attribute | Description | Type | Default |
| --- | --- | --- | --- |
| v-model | Current rate | _number_ | - |
| v-model:currentRate | Current rate | _number_ | - |
| rate | Target rate | _number \| string_ | `100` |
| size | Circle size | _number \| string_ | `100px` |
| color `v2.1.4` | Progress color, passing object to render gradient | _string \| object_ | `#1989fa` |