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

Commit 0748bff

Browse files
watsonhaw5566watsonhaw
and
watsonhaw
authoredDec 18, 2021
fix(wechat): 新增 MovableView 和 Slider 的 onTouchStart 和 onTouchEnd 事件(#1790)
* fix: close #1468 * test(wechat): 更新测试文件 Co-authored-by: watsonhaw <[email protected]>
1 parent 18fffef commit 0748bff

File tree

5 files changed

+92
-0
lines changed

5 files changed

+92
-0
lines changed
 

‎packages/remax-cli/src/__tests__/integration/fixtures/mini-component-basic/expected/wechat/__remax_runtime_options__.js

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/remax-cli/src/__tests__/integration/fixtures/mini-component-basic/expected/wechat/base.wxml

+40
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/remax-cli/src/__tests__/integration/fixtures/wechat-include/expected/__remax_runtime_options__.js

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/remax-cli/src/__tests__/integration/fixtures/wechat-include/expected/base.wxml

+40
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/remax-wechat/src/hostComponents/MovableView/node.ts

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ export const alias = {
1515
scaleMin: 'scale-min',
1616
scaleMax: 'scale-max',
1717
scaleValue: 'scale-value',
18+
onTouchStart: 'bindtouchstart',
19+
onTouchMove: 'bindtouchmove',
20+
onTouchEnd: 'bindtouchend',
21+
onTouchCancel: 'bindtouchcancel',
1822
onChange: 'bindchange',
1923
onScale: 'bindscale',
2024
hTouchMove: 'htouchmove',

0 commit comments

Comments
 (0)
This repository has been archived.