Repository: incubator-weex
Updated Branches:
refs/heads/dev 3ae4e89e8 -> 5b3ecd5cc
* [doc] Update doc for animation.
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/5b3ecd5c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/5b3ecd5c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/5b3ecd5c
Branch: refs/heads/dev
Commit: 5b3ecd5ccf88a6247c9327ebb48220d9993ff74c
Parents: 3ae4e89
Author: YorkShen
Authored: Wed Sep 13 15:08:04 2017 +0800
Committer: YorkShen
Committed: Wed Sep 13 15:08:04 2017 +0800
--
doc/source/cn/references/common-style.md | 3 +++
doc/source/cn/references/modules/animation.md | 2 ++
doc/source/references/common-style.md | 3 +++
doc/source/references/modules/animation.md| 3 ++-
4 files changed, 10 insertions(+), 1 deletion(-)
--
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5b3ecd5c/doc/source/cn/references/common-style.md
--
diff --git a/doc/source/cn/references/common-style.md
b/doc/source/cn/references/common-style.md
index 0d40e69..937e8de 100644
--- a/doc/source/cn/references/common-style.md
+++ b/doc/source/cn/references/common-style.md
@@ -314,6 +314,9 @@ transform å±æ§åå
ç´ åºç¨ 2D 转æ¢ã该å±æ§å
许æ们对å
ç´ è¿è¡
- scaleX( )
- scaleY( )
- rotate( )
+- rotateX( ) v0.14+
+- rotateY( ) v0.14+
+- perspective( ) Android 4.1å以ä¸çæ¬æ¯æ v0.16+
- transform-origin: number/percentage/keyword(top/left/right/bottom)
### 示ä¾
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5b3ecd5c/doc/source/cn/references/modules/animation.md
--
diff --git a/doc/source/cn/references/modules/animation.md
b/doc/source/cn/references/modules/animation.md
index f50bea3..8d188fc 100644
--- a/doc/source/cn/references/modules/animation.md
+++ b/doc/source/cn/references/modules/animation.md
@@ -47,6 +47,8 @@ version: 2.1
| `translate`/`translateX`/`translateY` | æå®å
ç´ è¦ç§»å¨å°çä½ç½®
| åç´ å¼æç¾åæ¯ | æ |
| `rotate` | æå®å
ç´
å°è¢«æ转çè§åº¦ï¼åä½æ¯åº¦ | number | æ |
| `scale`/`scaleX`/`scaleY` | ææ¯ä¾æ¾å¤§æ缩å°å
ç´
| number | æ |
+| `rotate`/`rotateX` v0.14+ /`rotateY` v0.14+ | æå®å
ç´
å°è¢«æ转çè§åº¦ï¼åä½æ¯åº¦ | number | æ |
+| `perspective` v0.16+ | è§å¯è
è·ç¦»z=0å¹³é¢çè·ç¦»ï¼å¨Android 4.1å以ä¸ææ | number | æ£æ ç©·
* `callback {Function}`ï¼å¨ç»æ§è¡å®æ¯ä¹åçåè°
*
`needLayoutï¼booleanï¼`ï¼èç¹å¨ç»æ§è¡æ¶æ¯å¦äº§çå¸å±å¨ç»å³LayoutAnimation
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5b3ecd5c/doc/source/references/common-style.md
--
diff --git a/doc/source/references/common-style.md
b/doc/source/references/common-style.md
index c0bd084..9c1251f 100644
--- a/doc/source/references/common-style.md
+++ b/doc/source/references/common-style.md
@@ -203,6 +203,9 @@ Currently supported format:
* scaleX( )
* scaleY( )
* rotate( )
+- rotateX( ) v0.14+
+- rotateY( ) v0.14+
+- perspective( ), supported for Android 4.1 and above. v0.16+
* transform-origin: number/percentage/keyword(top/left/right/bottom)
### Example
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5b3ecd5c/doc/source/references/modules/animation.md
--
diff --git a/doc/source/references/modules/animation.md
b/doc/source/references/modules/animation.md
index 6ea5cbd..a2f5175 100644
--- a/doc/source/references/modules/animation.md
+++ b/doc/source/references/modules/animation.md
@@ -52,7 +52,8 @@ properties of `transform`:
| name| description |
value type | default value |
| :-- | :--- |
:--- | : |
| translate/translateX/translateY | Specifies the location of which the
element will be translated to. | pixel or percent | none |
-| rotate | Specifies the angle of which the element
will be rotated, the unit is degree. | number | none |
+| rotate/rotateX v0.14+ /rotateY v0.14+ |Specifies the angle of which the element
will be rotated, the unit is degree.|number|none|
+| perspective v0.16+ | The distance between
the z=0 plane and the user in order to give to the 3D-positioned element some
perspective. Supported for Android 4.1 and above. | number | positive infinity
|