[new feature] Swipe: add immediate option of swipeTo method (#3821)
This commit is contained in:
+7
-1
@@ -156,7 +156,13 @@ Use ref to get swipe instance and call instance methods
|
||||
|
||||
| Name | Attribute | Return value | Description |
|
||||
|------|------|------|------|
|
||||
| swipeTo | index: target index | void | Swipe to target index |
|
||||
| swipeTo | index: target index, options: Options | void | Swipe to target index |
|
||||
|
||||
### swipeTo Options
|
||||
|
||||
| Name | Description | Type |
|
||||
|------|------|------|
|
||||
| immediate | Whether to skip animation | `boolean` |
|
||||
|
||||
### Swipe Slots
|
||||
|
||||
|
||||
Reference in New Issue
Block a user