From 42fac6a4df827ba208ee4a6ff500cbebe1bdcff6 Mon Sep 17 00:00:00 2001 From: Zenix Date: Fri, 4 Jul 2025 14:28:54 +0800 Subject: [PATCH] ADDComponentContentTempalte Signed-off-by: Zenix --- api/@internal/component/ets/common.d.ts | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index b0e104b1d5..a85d4efb2e 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -25885,11 +25885,25 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ overlay(value: string | CustomBuilder | ComponentContent, options?: OverlayOptions): T; + /** + * Add mask text to the current component. The layout is the same as that of the current component. + * + * @param { string | CustomBuilder | ComponentContent } value + * @param { OverlayOptions } [options] + * @returns { T } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @form + * @atomicservice + * @since 20 + * @arkts 1.2 + */ + overlay(value: string | CustomBuilder | ComponentContent, options?: OverlayOptions): T; + /** * Linear Gradient * angle: Angle of Linear Gradient. The default value is 180; -- Gitee