From 6dc68ed1bea7f79c9546c76e6c99ed7c9d42bcc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B0=B8=E5=87=AF?= Date: Thu, 4 Sep 2025 15:46:01 +0800 Subject: [PATCH] =?UTF-8?q?text=E6=94=AF=E6=8C=81minLines=E5=B1=9E?= =?UTF-8?q?=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘永凯 --- api/@internal/component/ets/text.d.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/api/@internal/component/ets/text.d.ts b/api/@internal/component/ets/text.d.ts index 2b0b4ee144..727e403876 100644 --- a/api/@internal/component/ets/text.d.ts +++ b/api/@internal/component/ets/text.d.ts @@ -958,6 +958,18 @@ declare class TextAttribute extends CommonMethod { * @arkts 1.1&1.2 */ maxLines(value: number): TextAttribute; + /** + * Called when the minimum number of lines of text is set. + * + * @param { number } value + * @returns { TextAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @form + * @atomicservice + * @arkts 21 + */ + minLines(value: number): TextAttribute; /** * Called when the text decoration of the text is set. -- Gitee