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 <shenyua...@gmail.com>
Authored: Mon Aug 14 11:26:25 2017 +0800
Committer: YorkShen <shenyua...@gmail.com>
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( <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>
 - 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` <span class="api-version">v0.14+</span> /`rotateY` <span 
class="api-version">v0.14+</span> | 指定元素
将被旋转的角度,单位是度 | 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( <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>
 * 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 <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|
 |scale/scaleX/scaleY|Stretch or shrink the element.|number|none|  
 
 ##### callback

Reply via email to