Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
fix(wechat): 新增 MovableView 和 Slider 的 onTouchStart 和 onTouchEnd 事件(#…
Browse files Browse the repository at this point in the history
…1790)

* fix: close #1468

* test(wechat): 更新测试文件

Co-authored-by: watsonhaw <[email protected]>
  • Loading branch information
watsonhaw5566 and watsonhaw committed Dec 18, 2021
1 parent 18fffef commit 0748bff
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 0 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions packages/remax-wechat/src/hostComponents/MovableView/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ export const alias = {
scaleMin: 'scale-min',
scaleMax: 'scale-max',
scaleValue: 'scale-value',
onTouchStart: 'bindtouchstart',
onTouchMove: 'bindtouchmove',
onTouchEnd: 'bindtouchend',
onTouchCancel: 'bindtouchcancel',
onChange: 'bindchange',
onScale: 'bindscale',
hTouchMove: 'htouchmove',
Expand Down

0 comments on commit 0748bff

Please sign in to comment.