feat(Tabs): add resize method (#5071)
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
|
||||
@@ -162,7 +162,7 @@ export default {
|
||||
|
||||
### Swipe 方法
|
||||
|
||||
通过 ref 可以获取到 swipe 实例并调用实例方法
|
||||
通过 ref 可以获取到 Swipe 实例并调用实例方法
|
||||
|
||||
| 方法名 | 说明 | 参数 | 返回值 |
|
||||
|------|------|------|------|
|
||||
|
||||
Reference in New Issue
Block a user