From 4816c78ea1b57265958e831b9db14cf5fab0f398 Mon Sep 17 00:00:00 2001 From: yangfan Date: Tue, 18 Jan 2022 20:09:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0row/column=E7=9A=84justifyCon?= =?UTF-8?q?tent=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yangfan --- api/@internal/component/ets/column.d.ts | 6 ++++++ api/@internal/component/ets/row.d.ts | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/api/@internal/component/ets/column.d.ts b/api/@internal/component/ets/column.d.ts index 8a6feea284..f1045dccf4 100644 --- a/api/@internal/component/ets/column.d.ts +++ b/api/@internal/component/ets/column.d.ts @@ -37,6 +37,12 @@ declare class ColumnAttribute extends CommonMethod { * @since 7 */ alignItems(value: HorizontalAlign): ColumnAttribute; + + /** + * Sets the alignment format of the subassembly in the vertical direction. + * @since 8 + */ + justifyContent(value: FlexAlign): ColumnAttribute; } declare const Column: ColumnInterface; diff --git a/api/@internal/component/ets/row.d.ts b/api/@internal/component/ets/row.d.ts index 412041e9df..6d723e4b8b 100644 --- a/api/@internal/component/ets/row.d.ts +++ b/api/@internal/component/ets/row.d.ts @@ -34,6 +34,12 @@ declare class RowAttribute extends CommonMethod { * @since 7 */ alignItems(value: VerticalAlign): RowAttribute; + + /** + * Called when the horizontal alignment is set. + * @since 8 + */ + justifyContent(value: FlexAlign): RowAttribute; } declare const Row: RowInterface; -- Gitee