From 9127226480c92ea44955f21bce43372dfeb72786 Mon Sep 17 00:00:00 2001 From: xuzhidan Date: Mon, 9 May 2022 17:13:30 +0800 Subject: [PATCH] Add autoHide for sidebar. Signed-off-by: xuzhidan --- .../reference/arkui-ts/ts-container-sidebarcontainer.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-container-sidebarcontainer.md b/zh-cn/application-dev/reference/arkui-ts/ts-container-sidebarcontainer.md index b9c0fbfb16..c21dd3c890 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-container-sidebarcontainer.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-container-sidebarcontainer.md @@ -39,9 +39,10 @@ SideBarContainer( type?: SideBarContainerType ) | showSideBar | boolean | true | 设置是否显示侧边栏。 | | controlButton | ButtonStyle | - | 设置侧边栏控制按钮的属性。 | | showControlButton | boolean | true | 设置是否显示控制按钮。 | -| sideBarWidth | number | 200 | 设置侧边栏的宽度。 | -| minSideBarWidth | number | 200 | 设置侧边栏最小宽度。 | -| maxSideBarWidth | number | 280 | 设置侧边栏最大宽度。 | +| sideBarWidth | Length | 200 | 设置侧边栏的宽度。 | +| minSideBarWidth | Length | 200 | 设置侧边栏最小宽度。 | +| maxSideBarWidth | Length | 280 | 设置侧边栏最大宽度。 | +| autoHide9+ | boolean | true | 设置当侧边栏拖拽到小于最小宽度后,是否自动隐藏。 | - ButtonStyle对象说明 | 名称 | 参数类型 | 必填 | 默认值 | 描述 | -- GitLab