未验证 提交 23d79d2a 编写于 作者: L LiAn 提交者: Gitee

update zh-cn/application-dev/reference/arkui-ts/ts-basic-components-texttimer.md.

Signed-off-by: NLiAn <lian15@huawei.com>
上级 1c714398
...@@ -68,7 +68,7 @@ struct TextTimerExample { ...@@ -68,7 +68,7 @@ struct TextTimerExample {
TextTimer({controller: this.myTimerController}) TextTimer({controller: this.myTimerController})
.format(this.format) .format(this.format)
.fontColor(Color.Black) .fontColor(Color.Black)
.fontSize(this.textSize) .fontSize(50)
.onTimer((utc: number, elapsedTime: number) => { .onTimer((utc: number, elapsedTime: number) => {
console.info('textTimer notCountDown utc is:' + utc + ', elapsedTime: ' + elapsedTime) console.info('textTimer notCountDown utc is:' + utc + ', elapsedTime: ' + elapsedTime)
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册