Skip to content

Commit

Permalink
feat(renderer): replenishment example and doc
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinwli committed Nov 1, 2023
1 parent d614d85 commit f740a12
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/api/hippy-vue/external-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ export default {
| needAnimation | 切换页面时是否需要动画。 | `boolean` | `Android、iOS、Voltron` |
| scrollEnabled | 指定ViewPager是否可以滑动,默认为true | `boolean` | `Android、iOS、Web-Renderer、Voltron` |
| direction | 设置viewPager滚动方向,不设置默认横向滚动,设置 `vertical` 为竖向滚动 | `string` | `Android、Voltron` |
| scrollEventThrottle | 指定滑动事件的回调频率,传入数值指定了多少毫秒(ms)组件会调用一次 `onPageScroll` 事件 | `number` | `Android、iOS、Web-Renderer、Voltron` |

## 事件

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
ref="swiper"
need-animation
:current="currentSlide"
:scrollEventThrottle="1000"
@dragging="onDragging"
@dropped="onDropped"
@stateChanged="onStateChanged"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
ref="swiper"
need-animation
:current="currentSlide"
:scrollEventThrottle="1000"
@dragging="onDragging"
@dropped="onDropped"
@stateChanged="onStateChanged"
Expand Down

0 comments on commit f740a12

Please sign in to comment.