From 663e26d862983e9a29b4a17ee5dc1057dcb4c36f Mon Sep 17 00:00:00 2001 From: "ester.zhou" Date: Mon, 28 Aug 2023 15:21:33 +0800 Subject: [PATCH] Update docs (22286) Signed-off-by: ester.zhou --- en/application-dev/reference/arkui-ts/ts-container-swiper.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/en/application-dev/reference/arkui-ts/ts-container-swiper.md b/en/application-dev/reference/arkui-ts/ts-container-swiper.md index 0756ef2901..6abc233cab 100644 --- a/en/application-dev/reference/arkui-ts/ts-container-swiper.md +++ b/en/application-dev/reference/arkui-ts/ts-container-swiper.md @@ -18,6 +18,8 @@ This component can contain child components. > When the **\** component's **displayMode** attribute is set to **SwiperDisplayMode.AutoLinear** or its **displayCount** attribute is set to **'auto'**, the child component whose **visibility** attribute is set to **None** does not take up space in the viewport, but this does not affect the number of navigation dots. > > If the **visibility** attribute of a child component is set to **None** or **Hidden**, it takes up space in the viewport, but is not displayed. +> +> When the number of child components is less than or equal to the total number of allowed nodes (totalDisplayCount = DisplayCount + prevMargin? (1: 0 ) + nextMargin? (1: 0 )) in the content area, the **\** component uses the non-looping mode for layout. In this case, the child components specified by **nextMargin** and **prevMargin** take up space in the viewport, but are not displayed. The specifications of the **\** component are calculated based on the value of **totalDisplayCount**. ## APIs -- GitLab