• Home
Name Date Size #Lines LOC

..--

entry/12-May-2024-270213

screenshots/device/12-May-2024-

.gitignoreD12-May-2024121 88

README.mdD12-May-2024580 157

README_zh.mdD12-May-2024623 2914

build-profile.json5D12-May-20241.1 KiB4341

hvigorfile.jsD12-May-2024175 21

package.jsonD12-May-2024382 1818

README.md

1# RefreshContainer
2
3### Introduction<a name="section104mcpsimp"></a>
4
5This sample shows the  **<refresh\>**  component in the JavaScript UI framework. You can use this component to refresh the content in child components and customize the conditions to trigger a refresh.
6
7### Usage<a name="section107mcpsimp"></a>
8
9On the home screen of the sample app, a refresh icon is displayed when you swipe down the list. After the refresh is complete, two more items are displayed.
10
11### Constraints<a name="section110mcpsimp"></a>
12
13This sample can only be run on standard-system devices.
14
15

README_zh.md

1# 下拉刷新容器
2
3### 简介
4
5本示例展示了JS UI框架中refresh组件的使用方法,refresh组件可以刷新子组件中的内容,并且可以自定义触发条件。
6
7实现效果如下:
8
9![](screenshots/device/after.png)
10
11### 相关概念
12
13Refresh:下拉刷新容器。
14
15### 相关权限
16
17不涉及。
18
19### 使用说明
20
21进入应用后,下拉列表出现刷新图标,刷新结束后,新增两个ltem。
22
23### 约束与限制
24
251.本示例仅支持在标准系统上运行。
26
272.本示例需要使用DevEco Studio 3.0 Beta4 (Build Version: 3.0.0.992, built on July 14, 2022)才可编译运行。
28
29