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

update ts-motion-path-animation.md

Signed-off-by: Nester.zhou <ester.zhou@huawei.com>
上级 99b35d38
# Motion Path Animation # Motion Path Animation
You can apply a motion path animation to a component, by setting the motion path of the component in a translation animation.
> **NOTE** > **NOTE**
> >
> This animation is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. > This animation is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
The attributes below can be used to set the motion path of the component in a translation animation.
## Attributes ## Attributes
...@@ -19,7 +19,8 @@ The attributes below can be used to set the motion path of the component in a tr ...@@ -19,7 +19,8 @@ The attributes below can be used to set the motion path of the component in a tr
## Example ## Example
``` ```ts
// xxx.ets
@Entry @Entry
@Component @Component
struct MotionPathExample { struct MotionPathExample {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册