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 <shenyua...@gmail.com>
Authored: Wed Sep 13 15:08:04 2017 +0800
Committer: YorkShen <shenyua...@gmail.com>
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( <number> )
 - scaleY( <number> )
 - rotate( <angle/degree> )
+- rotateX( <angle/degree> ) <span class="api-version">v0.14+</span>
+- rotateY( <angle/degree> ) <span class="api-version">v0.14+</span>
+- perspective( <number> ) Android 4.1及以上版本支持 <span 
class="api-version">v0.16+</span>
 - 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` <span class="api-version">v0.14+</span> /`rotateY` <span 
class="api-version">v0.14+</span> | 指定元素
将被旋转的角度,单位是度 | number | 无 |
+| `perspective` <span class="api-version">v0.16+</span> | 观察者
距离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( <number> )
 * scaleY( <number> )
 * rotate( <angle/degree> )
+- rotateX( <angle/degree> ) <span class="api-version">v0.14+</span>
+- rotateY( <angle/degree> ) <span class="api-version">v0.14+</span>
+- perspective( <number> ), supported for Android 4.1 and above. <span 
class="api-version">v0.16+</span>
 * 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 <span class="api-version">v0.14+</span> /rotateY <span 
class="api-version">v0.14+</span> |Specifies the angle of which the element 
will be rotated, the unit is degree.|number|none|
+| perspective <span class="api-version">v0.16+</span> | 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
 | scale/scaleX/scaleY             | Stretch or shrink the element.           | 
number           | none          |
 
 -  `callback`(function): Callback which is called after the completion of 
transition.

Reply via email to