From 9d8c49b32bcc2929af5832d1613cdaf91471c9ba Mon Sep 17 00:00:00 2001 From: wangweiyuan Date: Mon, 9 Jun 2025 16:52:21 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=9F=BA=E7=A1=80=E8=83=BD=E5=8A=9B?= =?UTF-8?q?=E3=80=91=E5=85=A8=E6=A8=A1=E6=80=81=E5=9C=A8=E5=A4=9A=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E4=B8=8B=E7=9A=84=E5=BD=A2=E6=80=81=E8=BD=AC=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangweiyuan --- api/@internal/component/ets/common.d.ts | 62 ++++++++++++++++--------- 1 file changed, 41 insertions(+), 21 deletions(-) diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index c579bd581c..efab101890 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -14465,6 +14465,37 @@ declare interface BindOptions { */ backgroundColor?: ResourceColor; + /** + * Defines transition type + * + * @type { ?ModalTransition } + * @default ModalTransition.Default + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 10 + */ + /** + * Defines transition type + * + * @type { ?ModalTransition } + * @default ModalTransition.Default + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 11 + */ + /** + * Defines transition type + * + * @type { ?ModalTransition } + * @default ModalTransition.Default + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + modalTransition?: ModalTransition; + /** * Callback for when the sheet is displayed (after the animation ends). * @@ -14579,27 +14610,6 @@ declare interface DismissContentCoverAction { * @since 11 */ declare interface ContentCoverOptions extends BindOptions { - /** - * Defines transition type - * - * @type { ?ModalTransition } - * @default ModalTransition.Default - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @since 10 - */ - /** - * Defines transition type - * - * @type { ?ModalTransition } - * @default ModalTransition.Default - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 11 - */ - modalTransition?: ModalTransition, - /** * Callback function when the content cover interactive dismiss * @@ -14770,6 +14780,16 @@ declare enum SheetType { * @since 20 */ SIDE = 3, + + /** + * Defines content cover type. + * + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + CONTENT_COVER = 4, } /** -- Gitee