feat(Progress): add resize method #5161

This commit is contained in:
chenjiahan
2020-10-29 22:46:03 +08:00
parent 9be853f7ac
commit 2924004dd3
5 changed files with 55 additions and 5 deletions
+8
View File
@@ -61,3 +61,11 @@ Use `pivot-text` to custom textuse `color` to custom bar color.
| text-color | Pivot text color | _string_ | `white` |
| inactive | Whether to be gray | _boolean_ | `false` |
| show-pivot | Whether to show text | _boolean_ | `true` |
### Methods
Use [ref](https://vuejs.org/v2/api/#ref) to get Progress instance and call instance methods.
| Name | Description | Attribute | Return value |
| --- | --- | --- | --- |
| resize | Resize Progress when container element resized or visibility changed | - | - |