mirror of
https://github.com/youzan/vant.git
synced 2026-05-11 01:00:21 +08:00
[improvement] ImagePreview: add onClose params (#2197)
This commit is contained in:
@@ -55,3 +55,10 @@ setTimeout(() => {
|
||||
| showIndicators | Whether to show indicators | `Boolean` | `false` |
|
||||
| loop | Whether to enable loop | `Boolean` | `true` |
|
||||
| onClose | Close callback | `Function` | - |
|
||||
|
||||
### onClose Parematers
|
||||
|
||||
| Attribute | Description | Type |
|
||||
|------|------|------|
|
||||
| url | Url of current image | `Number` |
|
||||
| index | Index of current image | `String` |
|
||||
|
||||
Reference in New Issue
Block a user