feat(Circle): size、rate、speed can be string type
This commit is contained in:
@@ -113,14 +113,14 @@ export default {
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| v-model | Current rate | *number* | - |
|
||||
| rate | Target rate | *number* | `100` |
|
||||
| rate | Target rate | *string \| number* | `100` |
|
||||
| size | Circle size | *string \| number* | `100px` |
|
||||
| color `v2.1.4` | Progress color, passing object to render gradient | *string \| object* | `#1989fa` |
|
||||
| layer-color | Layer color | *string* | `#fff` |
|
||||
| fill | Fill color | *string* | `none` |
|
||||
| speed | Animate speed(rate/s)| *number* | `0` |
|
||||
| speed | Animate speed(rate/s)| *string \| number* | `0` |
|
||||
| text | Text | *string* | - |
|
||||
| stroke-width | Stroke width | *number* | `40` |
|
||||
| stroke-width | Stroke width | *string \| number* | `40` |
|
||||
| stroke-linecap `v2.2.15` | Stroke linecap,can be set to `sqaure` `butt` | *string* | `round` |
|
||||
| clockwise | Whether to be clockwise | *boolean* | `true` |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user