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

update doc (14410)

Signed-off-by: Nester.zhou <ester.zhou@huawei.com>
上级 95c7ffe2
...@@ -47,7 +47,8 @@ struct SharedTransitionExample { ...@@ -47,7 +47,8 @@ struct SharedTransitionExample {
struct pageBExample { struct pageBExample {
build() { build() {
Stack() { Stack() {
Image($r('app.media.ic_health_heart')).width(150).height(150).sharedTransition('sharedImage') Image($r('app.media.ic_health_heart')).width(150).height(150)
.sharedTransition('sharedImage', { duration: 800, curve: Curve.Linear, delay: 100 })
}.width('100%').height('100%') }.width('100%').height('100%')
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册