From b536698fcd2eb891ce96e7da3d675a2b68254ee3 Mon Sep 17 00:00:00 2001 From: wangweiyuan Date: Wed, 7 May 2025 16:01:22 +0800 Subject: [PATCH] =?UTF-8?q?API:=E3=80=90=E5=9F=BA=E7=A1=80=E8=83=BD?= =?UTF-8?q?=E5=8A=9B=E3=80=91Stack=E7=BB=84=E4=BB=B6=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=AD=90=E7=BB=84=E4=BB=B6=E8=AE=BE=E7=BD=AE=E5=8D=95=E7=8B=AC?= =?UTF-8?q?=E5=AF=B9=E9=BD=90=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangweiyuan Change-Id: I57acefccf7c2be2e64b0e64819fd4c8a734179cd --- api/@internal/component/ets/common.d.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index aaf98cf2a9..2ade95ef50 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -24901,6 +24901,19 @@ declare class CommonMethod { */ align(alignment: Alignment | LocalizedAlignment): T; + /** + * Defines the align rules of child component in Stack container. + * + * @param { LocalizedAlignment } alignment + * @returns { T } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @form + * @atomicservice + * @since 20 + */ + layoutGravity(alignment: LocalizedAlignment): T; + /** * position * -- Gitee