From f55796254c20eaca1cc18c73d2ca3590ee4fc04c Mon Sep 17 00:00:00 2001 From: "ester.zhou" Date: Mon, 1 Aug 2022 18:06:22 +0800 Subject: [PATCH] update ts-motion-path-animation.md Signed-off-by: ester.zhou --- .../reference/arkui-ts/ts-motion-path-animation.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/en/application-dev/reference/arkui-ts/ts-motion-path-animation.md b/en/application-dev/reference/arkui-ts/ts-motion-path-animation.md index 67d034e063..410181d680 100644 --- a/en/application-dev/reference/arkui-ts/ts-motion-path-animation.md +++ b/en/application-dev/reference/arkui-ts/ts-motion-path-animation.md @@ -1,12 +1,12 @@ # 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** > > 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 @@ -19,7 +19,8 @@ The attributes below can be used to set the motion path of the component in a tr ## Example -``` +```ts +// xxx.ets @Entry @Component struct MotionPathExample { -- GitLab