Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
aba8e209
D
Docs
项目概览
OpenHarmony
/
Docs
大约 1 年 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
aba8e209
编写于
8月 03, 2022
作者:
O
openharmony_ci
提交者:
Gitee
8月 03, 2022
浏览文件
操作
浏览文件
下载
差异文件
!7670 refresh组件的refreshing参数新增$$
Merge pull request !7670 from 图恩/master
上级
9b647701
48a8155f
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
4 addition
and
4 deletion
+4
-4
zh-cn/application-dev/reference/arkui-ts/ts-container-refresh.md
...pplication-dev/reference/arkui-ts/ts-container-refresh.md
+2
-2
zh-cn/application-dev/ui/ts-syntactic-sugar.md
zh-cn/application-dev/ui/ts-syntactic-sugar.md
+2
-2
未找到文件。
zh-cn/application-dev/reference/arkui-ts/ts-container-refresh.md
浏览文件 @
aba8e209
...
...
@@ -21,7 +21,7 @@ Refresh\(value: \{refreshing: boolean, offset?: Length, friction?: number | stri
| 参数 | 参数名 | 必填 | 默认值 | 参数描述 |
| -------- | -------- | -------- | -------- | -------- |
| refreshing | boolean | 是 | - | 当前组件是否正在刷新。 |
| refreshing | boolean | 是 | - | 当前组件是否正在刷新。
<br/>
该参数支持
[
$$
](
../../ui/ts-syntactic-sugar.md
)
双向绑定变量。
|
| offset | Length | 否 | 16 | 刷新组件静止时距离父组件顶部的距离。|
| friction | number
\|
string | 否 | 62 | 下拉摩擦系数,取值范围为0到100。
<br/>
-
0表示下拉刷新容器不跟随手势下拉而下拉。
<br/>
-
100表示下拉刷新容器紧紧跟随手势下拉而下拉。
<br/>
-
数值越大,下拉刷新容器跟随手势下拉的反应越灵敏。 |
...
...
@@ -58,7 +58,7 @@ struct RefreshExample {
build
()
{
Column
()
{
Refresh
({
refreshing
:
this
.
isRefreshing
,
offset
:
120
,
friction
:
100
})
{
Refresh
({
refreshing
:
$$
this
.
isRefreshing
,
offset
:
120
,
friction
:
100
})
{
Text
(
'
Pull Down and refresh:
'
+
this
.
counter
)
.
fontSize
(
30
)
.
margin
(
10
)
...
...
zh-cn/application-dev/ui/ts-syntactic-sugar.md
浏览文件 @
aba8e209
...
...
@@ -137,11 +137,11 @@ build() {
```
##
$
##
变量双向绑定
$$支持变量双向绑定,支持简单变量、@State、@Link、@Prop等类型。
当前$$仅支持
[
bindPopup
](
../reference/arkui-ts/ts-universal-attributes-popup.md
)
属性的show参数和@State变量之间的渲染,以及Radio组件的checked属性。
当前$$仅支持
[
bindPopup
](
../reference/arkui-ts/ts-universal-attributes-popup.md
)
属性的show参数和@State变量之间的渲染,以及Radio组件的checked属性
和Refresh组件的refreshing参数
。
```
ts
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录