docs: add 2.5.0 version tag

This commit is contained in:
陈嘉涵
2020-02-15 19:45:48 +08:00
parent c86d809b81
commit 7d010664cb
8 changed files with 14 additions and 14 deletions
+4 -4
View File
@@ -135,9 +135,9 @@ export default {
| lazy-load | Whether to enable thumb lazy loadshould register [Lazyload](#/en-US/lazyload) component | *boolean* | `false` |
| max-zoom | Max zoom | *number \| string* | `3` |
| min-zoom | Min zoom | *number \| string* | `1/3` |
| closeable | Whether to show close icon | *boolean* | `false` |
| close-icon | Close icon name | *string* | `clear` |
| close-icon-position | Close icon positioncan be set to `top-left` `bottom-left` `bottom-right` | *string* | `top-right` |
| closeable `v2.5.0` | Whether to show close icon | *boolean* | `false` |
| close-icon `v2.5.0` | Close icon name | *string* | `clear` |
| close-icon-position `v2.5.0` | Close icon positioncan be set to `top-left` `bottom-left` `bottom-right` | *string* | `top-right` |
### Events
@@ -145,7 +145,7 @@ export default {
|------|------|------|
| close | Triggered when close | { index, url } |
| change | Triggered when current image change | index: index of current image |
| scale | Triggered when current image scale | { index: index of current image, scale: scale of current image} |
| scale `v2.5.0` | Triggered when current image scale | { index: index of current image, scale: scale of current image} |
### Slots
+4 -4
View File
@@ -149,9 +149,9 @@ export default {
| lazy-load | 是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用 | *boolean* | `false` |
| max-zoom | 手势缩放时,最大缩放比例 | *number \| string* | `3` |
| min-zoom | 手势缩放时,最小缩放比例 | *number \| string* | `1/3` |
| closeable | 是否显示关闭图标 | *boolean* | `false` |
| close-icon | 关闭图标名称或图片链接 | *string* | `clear` |
| close-icon-position | 关闭图标位置,可选值为`top-left`<br>`bottom-left` `bottom-right` | *string* | `top-right` |
| closeable `v2.5.0` | 是否显示关闭图标 | *boolean* | `false` |
| close-icon `v2.5.0` | 关闭图标名称或图片链接 | *string* | `clear` |
| close-icon-position `v2.5.0` | 关闭图标位置,可选值为`top-left`<br>`bottom-left` `bottom-right` | *string* | `top-right` |
### Events
@@ -162,7 +162,7 @@ export default {
|------|------|------|
| close | 关闭时触发 | { index: 索引, url: 图片链接 } |
| change | 切换当前图片时触发 | index: 当前图片的索引 |
| scale | 缩放当前图片时触发 | { index: 当前图片的索引, scale: 当前缩放的值 } |
| scale `v2.5.0` | 缩放当前图片时触发 | { index: 当前图片的索引, scale: 当前缩放的值 } |
### Slots