feat(ImagePreview): add closed event

This commit is contained in:
chenjiahan
2020-03-19 19:57:04 +08:00
parent 873f3cc4d5
commit 5b279ab0dc
3 changed files with 7 additions and 1 deletions
+1
View File
@@ -160,6 +160,7 @@ export default {
| 事件 | 说明 | 回调参数 |
|------|------|------|
| close | 关闭时触发 | { index: 索引, url: 图片链接 } |
| closed `v2.5.6` | 关闭且且动画结束后触发 | - |
| change | 切换当前图片时触发 | index: 当前图片的索引 |
| scale `v2.5.0` | 缩放当前图片时触发 | { index: 当前图片的索引, scale: 当前缩放的值 } |