From f75adaefbbcde979384ab4799238b85524124197 Mon Sep 17 00:00:00 2001 From: limeng Date: Sun, 2 Apr 2023 17:06:37 +0800 Subject: [PATCH] =?UTF-8?q?swiper=E7=BB=84=E4=BB=B6=E8=BF=BD=E5=8A=A0prevM?= =?UTF-8?q?argin=20=E4=B8=8E=20nextMargin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: limeng --- zh-cn/application-dev/reference/arkui-ts/ts-container-swiper.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-container-swiper.md b/zh-cn/application-dev/reference/arkui-ts/ts-container-swiper.md index ac04ea0fc6..c9294047d6 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-container-swiper.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-container-swiper.md @@ -44,6 +44,8 @@ Swiper(controller?: SwiperController) | indicatorStyle8+ | {
left?: [Length](ts-types.md#length),
top?: [Length](ts-types.md#length),
right?: [Length](ts-types.md#length),
bottom?: [Length](ts-types.md#length),
size?: [Length](ts-types.md#length),
mask?: boolean,
color?: [ResourceColor](ts-types.md),
selectedColor?: [ResourceColor](ts-types.md)
} | 设置导航点样式:
\- left: 设置导航点距离Swiper组件左边的距离。
\- top: 设置导航点距离Swiper组件顶部的距离。
\- right: 设置导航点距离Swiper组件右边的距离。
\- bottom: 设置导航点距离Swiper组件底部的距离。
\- size: 设置导航点的直径。
\- mask: 设置是否显示导航点蒙层样式。
\- color: 设置导航点的颜色。
\- selectedColor: 设置选中的导航点的颜色。 | | displayCount8+ | number\|string | 设置一页内元素显示个数。
默认值:1 | | effectMode8+ | [EdgeEffect](ts-appendix-enums.md#edgeeffect) | 滑动效果,目前支持的滑动效果参见EdgeEffect的枚举说明。
默认值:EdgeEffect.Spring | +| nextMargin10+ |
[Length](ts-types.md#length)
| 后边距,用于露出后一项的一小部分 | +| prevMargin10+ |
[Length](ts-types.md#length)
| 前边距,用于露出前一项的一小部分。 | ## SwiperDisplayMode枚举说明 -- GitLab