提交 a774b2f1 编写于 作者: E ester.zhou

update ts-container-refresh.md (8582)

Signed-off-by: Nester.zhou <ester.zhou@huawei.com>
上级 5f013b64
...@@ -16,7 +16,7 @@ This component supports only one child component. ...@@ -16,7 +16,7 @@ This component supports only one child component.
## APIs ## APIs
Refresh\(value: \{refreshing: boolean, offset?: Length, friction?: number | string\}\) Refresh\(value: \{ refreshing: boolean, offset?: Length, friction?: number | string \}\)
- Parameters - Parameters
...@@ -59,7 +59,7 @@ struct RefreshExample { ...@@ -59,7 +59,7 @@ struct RefreshExample {
build() { build() {
Column() { Column() {
Refresh({refreshing: $$this.isRefreshing, offset: 120, friction: 100}) { Refresh({ refreshing: $$this.isRefreshing, offset: 120, friction: 100 }) {
Text('Pull Down and refresh: ' + this.counter) Text('Pull Down and refresh: ' + this.counter)
.fontSize(30) .fontSize(30)
.margin(10) .margin(10)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册