From a1d49fab13533959284032b612dbf88760da26f9 Mon Sep 17 00:00:00 2001 From: zhou-ke13 Date: Mon, 1 Sep 2025 20:25:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=8C=E5=B1=82=E6=B8=B2?= =?UTF-8?q?=E6=9F=93=E4=BA=8B=E4=BB=B6=E5=88=86=E5=8F=91=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhou-ke13 --- api/@internal/component/ets/web.d.ts | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/api/@internal/component/ets/web.d.ts b/api/@internal/component/ets/web.d.ts index 91b702c849..94065b983b 100644 --- a/api/@internal/component/ets/web.d.ts +++ b/api/@internal/component/ets/web.d.ts @@ -4563,7 +4563,7 @@ declare class EventResult { constructor(); /** - * Set whether the event is consumed. + * Sets the event consumption result. * * @param { boolean } result - Whether to consume the gesture event. * {@code true} Indicates the consumption of the gesture event. @@ -4595,9 +4595,15 @@ declare class EventResult { /** * Sets the mouse event consumption result. * - * @param { boolean } result - True if the event is consumed. - * @param { boolean } [stopPropagation] - {@code true} means to prevent mouse events from bubbling up - * {code false} otherwise, The default value is true. + * @param { boolean } result - Whether to consume the mouse event. + * {@code true} Indicates the consumption of the mouse event. + * {@code false} Indicates the non-consumption of the mouse event. + * Default value: true. + * @param { boolean } [stopPropagation] - Whether to stop propagation. + * This parameter is valid only when result is set to true. + * {@code true} Indicates stops the propagation of events farther along. + * {@code false} Indicates the propagation of events farther along. + * Default value: true. * @syscap SystemCapability.Web.Webview.Core * @since 20 */ -- Gitee