diff --git a/api/@internal/component/ets/text.d.ts b/api/@internal/component/ets/text.d.ts index 2b0b4ee1443d53316ff5a937caff9141bab13775..727e4038763bd51cd25d6dadd5e81eeb29df5240 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.