From 93ef7a7bfb6282ae422531defde7b5634d32aa83 Mon Sep 17 00:00:00 2001 From: xiangyuan6 Date: Tue, 19 Aug 2025 15:25:47 +0800 Subject: [PATCH] showCounter_text_color Signed-off-by: xiangyuan6 --- api/@internal/component/ets/common.d.ts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index 4155378988..e4089f3399 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -199,6 +199,28 @@ declare interface InputCounterOptions { * @arkts 1.1&1.2 */ highlightBorder?: boolean; + + /** + * It is the color of counter when textField hasn't wanted to exceed the maximum character count. + * + * @type { ?Color } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 21 + */ + counterTextColor?: Color; + + /** + * It is the color of counter when textField wants exceed the maximum character count. + * + * @type { ?Color } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 21 + */ + counterTextOverflowColor?: Color; } /** -- Gitee