From 90897bc4eafc4dfd1575a0e0e3bf4a19f37258f4 Mon Sep 17 00:00:00 2001 From: "ester.zhou" Date: Thu, 22 Sep 2022 19:33:07 +0800 Subject: [PATCH] Update docs (9656) Signed-off-by: ester.zhou --- .../js-components-common-animation.md | 28 +- .../js-components-container-stepper.md | 188 ++++------- en/application-dev/ui/Readme-EN.md | 8 +- ...-performance-improvement-recommendation.md | 304 ++++++++++++++++++ en/application-dev/ui/ts-types.md | 224 ------------- .../ui/ui-js-components-stepper.md | 24 +- 6 files changed, 397 insertions(+), 379 deletions(-) create mode 100644 en/application-dev/ui/ts-performance-improvement-recommendation.md delete mode 100644 en/application-dev/ui/ts-types.md diff --git a/en/application-dev/reference/arkui-js/js-components-common-animation.md b/en/application-dev/reference/arkui-js/js-components-common-animation.md index 24676a7323..72969d608a 100644 --- a/en/application-dev/reference/arkui-js/js-components-common-animation.md +++ b/en/application-dev/reference/arkui-js/js-components-common-animation.md @@ -6,20 +6,20 @@ Components support dynamic rotation, translation, and scaling effects. These eff > > The initial APIs of this component are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version. -| Name | Type | Default Value | Description | -| ------------------------- | ------------------------------------------------------------ | ------------------------------------- | ------------------------------------------------------------ | -| transform-origin | string6+ \| \ \| \ string6+ \| \ \| \ | center center | Origin position of the transformed element. The unit can be px or a percentage (relative to the animation target component). If only one value is specified, the other one is **50%**. The available values for the first string are **left**, **center**, and **right**. The available values for the second string are **top**, **center**, and **bottom**.
Example:
transform-origin: 200px 30%
transform-origin: 100px topt
ransform-origin: center center | -| transform | string | - | Translation, rotation, and scaling attributes.
For details, see **transform**. | -| animation6+ | string | 0s ease 0s 1 normal none running none | Animation attributes in the format of **duration \| timing-function \| delay \| iteration-count \| direction \| fill-mode \| play-state \| name**. The order of the parameters is not specified, but the **duration** and **delay** parameters are parsed based on where they are placed. | -| animation-name | string | - | @keyframes rule. For details, see **@keyframes**. | -| animation-delay | \