Skip to content

Commit 4de65cc

Browse files
committed
docs(image-preview): add preventDefault prop
1 parent d2a72d5 commit 4de65cc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

document/components/docs/en-US/image-preview.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ The following demo code is [here](https://github.com/didi/cube-ui/tree/master/ex
150150
| loop | whether to loop swipe | Boolean | true/false | true |
151151
| speed | speed of switching pages, ms | Number | - | 400 |
152152
| zIndex<sup>1.10.11</sup> | the value of the style z-index | Number | - | 100 |
153+
| preventDefault<sup>1.10.16</sup> | BetterScroll `preventDefault` option | Boolean | true/false | true |
153154

154155
### Slots
155156

document/components/docs/zh-CN/image-preview.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ __注:__ 由于此组件基于 create-api 实现,所以在使用之前,请
144144
| loop | 是否可循环 | Boolean | true/false | true |
145145
| speed | 轮播速度,单位 ms | Number | - | 400 |
146146
| zIndex<sup>1.10.11</sup> | 样式 z-index 的值 | Number | - | 100 |
147+
| preventDefault<sup>1.10.16</sup> | 是否阻止默认行为,因底层使用 BetterScroll 实现 | Boolean | true/false | true |
147148

148149
### 插槽
149150

0 commit comments

Comments
 (0)