未验证 提交 2778fda8 编写于 作者: O openharmony_ci 提交者: Gitee

!6509 【轻量级 PR】:update zh-cn/application-dev/reference/arkui-ts/ts-basic-gestures-swipegesture.md.

Merge pull request !6509 from 雷震/N/A
...@@ -64,7 +64,7 @@ struct SwipeGestureExample { ...@@ -64,7 +64,7 @@ struct SwipeGestureExample {
.width(260).height(260) .width(260).height(260)
.rotate({x: 0, y: 0, z: 1, angle: this.rotateAngle}) .rotate({x: 0, y: 0, z: 1, angle: this.rotateAngle})
.gesture( .gesture(
SwipeGesture({fingers: 1, direction:SwipeDirection.Vertical}) SwipeGesture({fingers: 1, direction: SwipeDirection.Vertical})
.onAction((event: GestureEvent) => { .onAction((event: GestureEvent) => {
this.speed = event.speed this.speed = event.speed
this.rotateAngle = event.angle this.rotateAngle = event.angle
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册