From 0741154c72538e4df8da4a16390e7379b2432622 Mon Sep 17 00:00:00 2001 From: liuyongkai2 Date: Fri, 5 Sep 2025 10:10:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=A1=86placeholder=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E5=AF=8C=E6=96=87=E6=9C=AC=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liuyongkai2 --- api/@internal/component/ets/common.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index 0494b0b404..b4dfde7278 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -33795,6 +33795,17 @@ declare abstract class TextContentControllerBase { */ addText(text: string, textOperationOptions?: TextContentControllerOptions): number; + /** + * Update the styles of placeholder by setStyledString. + * + * @param { StyledString } value + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 21 + */ + setStyledPlaceholder(value: StyledString): void; + /** * Delete text in TextRange. * -- Gitee