From 629bd19b15f864f1c75b841ffb1e21ff9da7025d Mon Sep 17 00:00:00 2001 From: LiAn Date: Wed, 25 May 2022 08:42:16 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/arkui-ts/ts-gesture-settings.md. Signed-off-by: LiAn --- zh-cn/application-dev/reference/arkui-ts/ts-gesture-settings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-gesture-settings.md b/zh-cn/application-dev/reference/arkui-ts/ts-gesture-settings.md index 395dfa42cb..498690dcb0 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-gesture-settings.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-gesture-settings.md @@ -79,7 +79,7 @@ struct GestureSettingsExample { TapGesture() .onAction((event: GestureEvent) => { this.value = 'priorityGesture onAction' + '\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 }), GestureMask.IgnoreInternal ) -- GitLab