feat(Tabs): add resize method (#5071)

This commit is contained in:
neverland
2019-11-21 17:18:38 +08:00
committed by GitHub
parent 659eb3eefc
commit a1a93ba11b
5 changed files with 43 additions and 22 deletions
+2 -2
View File
@@ -156,12 +156,12 @@ export default {
### Swipe Methods
Use ref to get swipe instance and call instance methods
Use ref to get Swipe instance and call instance methods
| Name | Description | Attribute | Return value |
|------|------|------|------|
| swipeTo | Swipe to target index | index: target index, options: Options | void |
| resize | Resize swipe when container element resized | - | void |
| resize | Resize Swipe when container element resized | - | void |
### swipeTo Options