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