From 17f6b7fe5e1754903eceb9d568872355eab1ea44 Mon Sep 17 00:00:00 2001 From: king_he <6384784@qq.com> Date: Mon, 27 Jun 2022 12:04:14 +0000 Subject: [PATCH] update en/application-dev/reference/arkui-ts/ts-container-swiper.md. Signed-off-by: king_he <6384784@qq.com> --- .../reference/arkui-ts/ts-container-swiper.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 ce400d6a52..0e72a05681 100644 --- a/en/application-dev/reference/arkui-ts/ts-container-swiper.md +++ b/en/application-dev/reference/arkui-ts/ts-container-swiper.md @@ -1,11 +1,11 @@ # Swiper -> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE** +> **NOTE**
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. -The **<Swiper>** component provides a container that allows users to switch among child components by swiping operations. +The **** component provides a container that allows users to switch among child components through swiping. ## Required Permissions @@ -23,7 +23,7 @@ This component can contain child components. Swiper(value:{controller?: SwiperController}) - Parameters - | Name | Type | Mandatory | Default Value | Description | + | Name | Type | Mandatory | Default Value | Description | | -------- | -------- | -------- | -------- | -------- | | controller | [SwiperController](#swipercontroller) | No | null | Controller bound to the component to control the page switching. | @@ -42,14 +42,14 @@ Swiper(value:{controller?: SwiperController}) | itemSpace | Length | 0 | Space between child components. | | cachedCount8+ | number | 1 | Number of child components to be cached. | | disableSwipe8+ | boolean | false | Whether to disable the swipe feature. | -| curve8+ | [Curve](ts-animatorproperty.md) \| Curves | Curve.Ease | Animation curve. The ease-in/ease-out curve is used by default. For details about common curves, see [Curve enums](ts-animatorproperty.md). You can also create custom curves ([interpolation curve objects](ts-interpolation-calculation.md)) by using the API provided by the interpolation calculation module. | +| curve8+ | [Curve](ts-animatorproperty.md) \| Curves | Curve.Ease | Animation curve. The ease-in/ease-out curve is used by default. For details about common curves, see [Curve enums](ts-animatorproperty.md). You can also create custom curves ([interpolation curve objects](ts-interpolation-calculation.md)) by using APIs provided by the interpolation calculation module. | ### SwiperController -Controller of the **<Swiper>** component. You can bind this object to the **<Swiper>** component and use it to control page switching. +Controller of the **** component. You can bind this object to the **** component and use it to control page switching. - | Name | Description | +| Name | Description | | -------- | -------- | | showNext():void | Turns to the next page. | | showPrevious():void | Turns to the previous page. | @@ -57,7 +57,7 @@ Controller of the **<Swiper>** component. You can bind this object to the ## Events - | Name | Description | +| Name | Description | | -------- | -------- | | onChange( index: number) => void | Triggered when the index of the currently displayed component changes. | -- GitLab