From 17788d0c9ac271400c93c43c0103589125f7e033 Mon Sep 17 00:00:00 2001 From: lijuan124 Date: Wed, 20 Jul 2022 16:09:48 +0800 Subject: [PATCH] add sideBarPosition Signed-off-by: lijuan124 --- api/@internal/component/ets/sidebar.d.ts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/api/@internal/component/ets/sidebar.d.ts b/api/@internal/component/ets/sidebar.d.ts index 1daef1b95b..55e73273e3 100644 --- a/api/@internal/component/ets/sidebar.d.ts +++ b/api/@internal/component/ets/sidebar.d.ts @@ -30,6 +30,23 @@ declare enum SideBarContainerType { Overlay, } +/** + * Sets the sidebar position of showing + * @since 9 + */ +declare enum SideBarPosition { + /** + * The sidebar is on the Start of the container + * @since 9 + */ + Start, + /** + * The sidebar is on the End of the container + * @since 9 + */ + End, +} + /** * Sets the control button style * @since 8 @@ -145,6 +162,12 @@ declare class SideBarContainerAttribute extends CommonMethod