From 39899791410d12a072ae98ab23b98dd88b95b5ed Mon Sep 17 00:00:00 2001 From: DreamLoveJay Date: Thu, 14 Aug 2025 20:29:28 +0800 Subject: [PATCH] =?UTF-8?q?0728=E5=88=86=E6=94=AF=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: DreamLoveJay --- api/@internal/component/ets/web.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/api/@internal/component/ets/web.d.ts b/api/@internal/component/ets/web.d.ts index 1c3cd6b384..3851b7d3f5 100644 --- a/api/@internal/component/ets/web.d.ts +++ b/api/@internal/component/ets/web.d.ts @@ -1158,6 +1158,7 @@ declare interface WebMediaOptions { * Whether the audio of multiple Web instances in an application is exclusive. * * @type { ?boolean } + * {@code true} means audio exclusivity for multiple web instances within the application, {@code false} otherwise. * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since arkts {'1.1':'11', '1.2':'20'} @@ -4701,7 +4702,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. @@ -8227,6 +8228,7 @@ declare class WebAttribute extends CommonMethod { * @since 11 */ /** + * Triggered at the end of web page loading. * This callback is only invoked for the main frame and not for subframes. * * @param { Callback } callback The triggered function at the end of web page loading. @@ -10197,7 +10199,7 @@ declare class WebAttribute extends CommonMethod { * - Frequent changes to the page width and height will trigger a re-layout of the Web component, * which can affect the user experience. * - Waterfall web pages are not supported (drop down to the bottom to load more). - * - Only height adaptation is supported(VH units are not supported). Width adaptation is not supported. + * - Only height adaptation is supported. Width adaptation is not supported. * - Because the height is adaptive to the web page height, * the component height cannot be changed by modifying the component height attribute. *

-- Gitee