From 441be3685523224492b48ef9fe8bc5878c2cab69 Mon Sep 17 00:00:00 2001 From: mayunteng_1 Date: Tue, 11 Oct 2022 15:00:40 +0800 Subject: [PATCH] Signed-off-by: mayunteng_1 Change-Id: If43c338280586c5c117423464e4d35c54cd5b523 --- zh-cn/application-dev/reference/apis/js-apis-inputmonitor.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-inputmonitor.md b/zh-cn/application-dev/reference/apis/js-apis-inputmonitor.md index caaa2fe384..56743cb2b4 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-inputmonitor.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inputmonitor.md @@ -182,7 +182,7 @@ try { ```js try { inputMonitor.on("touch", (event) => { - // 消费触摸输入事件 + // 若返回true,表示本次操作后续所有事件不再分发到窗口,事件都由监听者消费。 return false; }); inputMonitor.off("touch"); -- GitLab