README.md
1# Swiper
2
3### Introduction<a name="section104mcpsimp"></a>
4
5This sample shows how to use the **<swiper\>** component in the JavaScript UI framework. The component provides a container that allows users to switch among child components by swiping operations.
6
7### Usage<a name="section107mcpsimp"></a>
8
91. On the sample app, swipe the images in the container to switch among the child components.
10
112. On the sample app, touch the buttons to switch among the child components.
12
13### Constraints<a name="section111mcpsimp"></a>
14
15This sample can only be run on standard-system devices.
16
17
README_zh.md
1# 内容滑动容器
2
3### 简介
4
5本示例展示了JS UI框架中swiper组件的使用方法,该组件提供切换子组件显示的能力。实现效果如下:
6
7
8
9### 相关概念
10
11Swiper:滑动容器,提供切换子组件显示的能力。
12
13### 相关权限
14
15不涉及。
16
17### 使用说明
18
191.滑动容器中的图片,切换子组件的内容。
20
212.点击**按钮**,触发点击事件,切换子组件内容。
22
23### 约束与限制
24
251.本示例仅支持标准系统上运行。
26
272.本示例需要使用DevEco Studio 3.0 Beta4 (Build Version: 3.0.0.992, built on July 14, 2022)才可编译运行
28
29
30