incubator-weex git commit: * [doc] Update doc for animation.

2017-09-13 Thread kyork
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
 | 

incubator-weex git commit: * [doc] Update doc of animation.

2017-08-13 Thread kyork
Repository: incubator-weex
Updated Branches:
  refs/heads/0.16-dev 51ed22dcb -> 096c59b80


* [doc] Update doc of 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/096c59b8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/096c59b8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/096c59b8

Branch: refs/heads/0.16-dev
Commit: 096c59b80aca8399f146639ede15a952757f495c
Parents: 51ed22d
Author: YorkShen 
Authored: Mon Aug 14 11:26:25 2017 +0800
Committer: YorkShen 
Committed: Mon Aug 14 11:26:25 2017 +0800

--
 doc/source/cn/references/common-style.md  | 2 ++
 doc/source/cn/references/modules/animation.md | 2 +-
 doc/source/references/common-style.md | 2 ++
 doc/source/references/modules/animation.md| 2 +-
 4 files changed, 6 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/096c59b8/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 a36d2cd..ed84a6b 100644
--- a/doc/source/cn/references/common-style.md
+++ b/doc/source/cn/references/common-style.md
@@ -314,6 +314,8 @@ transform 属性向元素应用 2D 转换。该属性å…
è®¸æˆ‘们对元素进行
 - scaleX(  )
 - scaleY(  )
 - rotate(  )
+- rotateX(  ) v0.14+
+- rotateY(  ) v0.14+
 - transform-origin: number/percentage/keyword(top/left/right/bottom)
 
 ### 示例

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/096c59b8/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 38f9bec..de61e71 100644
--- a/doc/source/cn/references/modules/animation.md
+++ b/doc/source/cn/references/modules/animation.md
@@ -45,7 +45,7 @@ version: 2.1
 | 名称 | 描述 | 值类型 | 默认值 | 示例 |
 |  |  |  |  |  |
 | `translate`/`translateX`/`translateY` | 指定元素要移动到的位置 | 
像素值或百分比 | 无 |
-| `rotate` | 指定元素将被旋转的角度,单位是度 | number | 无 |
+| `rotate`/`rotateX` v0.14+ /`rotateY` v0.14+ | 指定元素
将被旋转的角度,单位是度 | number | 无 |
 | `scale`/`scaleX`/`scaleY` | 按比例放大或缩小元素 | number | 无 |
 
 * `callback {Function}`:动画执行完毕之后的回调

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/096c59b8/doc/source/references/common-style.md
--
diff --git a/doc/source/references/common-style.md 
b/doc/source/references/common-style.md
index 4250fec..59432a0 100644
--- a/doc/source/references/common-style.md
+++ b/doc/source/references/common-style.md
@@ -203,6 +203,8 @@ Currently supported format:
 * scaleX(  )
 * scaleY(  )
 * rotate(  )
+* rotateX(  ) v0.14+
+* rotateY(  ) v0.14+
 * transform-origin: number/percentage/keyword(top/left/right/bottom)
 
 ### Example

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/096c59b8/doc/source/references/modules/animation.md
--
diff --git a/doc/source/references/modules/animation.md 
b/doc/source/references/modules/animation.md
index 29de02b..5f8f09b 100644
--- a/doc/source/references/modules/animation.md
+++ b/doc/source/references/modules/animation.md
@@ -52,7 +52,7 @@ 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|
 |scale/scaleX/scaleY|Stretch or shrink the element.|number|none|  
 
 # callback