diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index b0e104b1d599fc8d7ebaa0564e28ad6fb24b31d0..a85d4efb2ec6664d0d48300f753eec74e4a19436 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;