From 583e841c14728a51a66713fa8f464225303bec8b Mon Sep 17 00:00:00 2001 From: LiAn Date: Wed, 25 May 2022 08:45:52 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/arkui-ts/ts-universal-events-touch.md. Signed-off-by: LiAn --- .../reference/arkui-ts/ts-universal-events-touch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-universal-events-touch.md b/zh-cn/application-dev/reference/arkui-ts/ts-universal-events-touch.md index ca49bfc099..3aa7ea59de 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-universal-events-touch.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-universal-events-touch.md @@ -78,7 +78,7 @@ struct TouchExample { } console.info(this.text = 'TouchType:' + this.eventType + '\nDistance between touch point and touch element:\nx: ' + event.touches[0].x + '\n' + 'y: ' + event.touches[0].y + '\ncomponent globalPos:(' - + event.target.area.globalPos.x + ',' + event.target.area.globalPos.y + ')\nwidth:' + + event.target.area.globalPosition.x + ',' + event.target.area.globalPosition.y + ')\nwidth:' + event.target.area.width + '\nheight:' + event.target.area.height) }) Text(this.text) -- GitLab