From debe02508968d0b8a81f3645f180a52cfd0782d9 Mon Sep 17 00:00:00 2001 From: solanightxie <1025011831@qq.com> Date: Mon, 22 Aug 2022 04:07:39 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/arkui-ts/ts-basic-gestures-longpressgesture.md. Signed-off-by: solanightxie <1025011831@qq.com> https://gitee.com/openharmony/docs/issues/I5NEGY Signed-off-by: solanightxie <1025011831@qq.com> --- .../reference/arkui-ts/ts-basic-gestures-longpressgesture.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-basic-gestures-longpressgesture.md b/zh-cn/application-dev/reference/arkui-ts/ts-basic-gestures-longpressgesture.md index bb41739d61..07048ee142 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-basic-gestures-longpressgesture.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-basic-gestures-longpressgesture.md @@ -53,11 +53,11 @@ struct LongPressGestureExample { .height(200).width(300).padding(60).border({ width:1 }).margin(30) .gesture( LongPressGesture({ repeat: true }) - //长按动作存在会连续触发 + // 长按动作存在会连续触发 .onAction((event: GestureEvent) => { if (event.repeat) { this.count++ } }) - //长按动作一结束触发 + // 长按动作一结束触发 .onActionEnd(() => { this.count = 0 }) -- GitLab