From 9ef55ec4a3b3cd9e0478169a92df39188cf39745 Mon Sep 17 00:00:00 2001 From: 189******51 Date: Tue, 20 May 2025 03:14:49 +0000 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E6=94=B9=20backgroundEffect=20?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E7=9A=84=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 189******51 --- api/@internal/component/ets/common.d.ts | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index a8829090b9..098f85cc87 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -20785,15 +20785,11 @@ declare class CommonMethod { backgroundEffect(options: BackgroundEffectOptions): T; /** - * Sets the background effect of the component, including the blur radius, brightness, - * saturation, and color. Compared to backgroundEffect11+, - * this API supports the **undefined** type for the **options** parameter. + * Sets the background effect of the component, including the blur radius, brightness, saturation, and color. + * Compared to backgroundEffect11+, this API supports the **undefined** type for the **options** parameter. * - * @param { Optional } options - Background effect, including saturation, - * brightness, and color. - *
If **options** is **undefined**, the background reverts to its default state with no effect. - * @param { SystemAdaptiveOptions } [ sysOptions ] - System adaptive adjustment options. - *
Default value: **{ disableSystemAdaptation: false }**. + * @param { Optional } options - Background effect, including saturation, brightness, + * and color.
If **options** is **undefined**, the background reverts to its default state with no effect. * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform @@ -20803,11 +20799,13 @@ declare class CommonMethod { backgroundEffect(options: Optional): T; /** - * options:background effect options. - * sysOptions: system adaptive options. + * Sets the background effect of the component, including the blur radius, brightness, saturation, and color. + * Compared to backgroundEffect11+, this API supports the **undefined** type for the **options** parameter. * - * @param { Optional } options - options indicates the effect options. - * @param { SystemAdaptiveOptions } [ sysOptions ] - system adaptive options. + * @param { Optional } options - Background effect, including saturation, brightness, + * and color.
If **options** is **undefined**, the background reverts to its default state with no effect. + * @param { SystemAdaptiveOptions } [ sysOptions ] - System adaptive adjustment options. + *
Default value: **{ disableSystemAdaptation: false }**. * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform -- Gitee