You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ha...@apache.org on 2018/04/08 02:34:52 UTC

incubator-weex-site git commit: update the document of animation module (resolve #129)

Repository: incubator-weex-site
Updated Branches:
  refs/heads/master cf161d5b9 -> 63322e63c


update the document of animation module (resolve #129)


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/commit/63322e63
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/tree/63322e63
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/diff/63322e63

Branch: refs/heads/master
Commit: 63322e63cdf556787b1cd2c19af2a58571bbdbbf
Parents: cf161d5
Author: hlx <ha...@users.noreply.github.com>
Authored: Wed Apr 4 17:17:01 2018 +0800
Committer: Hanks <zh...@gmail.com>
Committed: Sun Apr 8 10:33:43 2018 +0800

----------------------------------------------------------------------
 source/cn/references/modules/animation.md | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/63322e63/source/cn/references/modules/animation.md
----------------------------------------------------------------------
diff --git a/source/cn/references/modules/animation.md b/source/cn/references/modules/animation.md
index eac1833..368ed28 100644
--- a/source/cn/references/modules/animation.md
+++ b/source/cn/references/modules/animation.md
@@ -60,6 +60,12 @@ animation.transition(ref1, {
 
 `transform`同时也有很多对应的属性,可以参见下表:
 
+(注:如果想同时执行多个动画只需要用空格隔开,比如)
+```
+ transform: 'translate(250px, 100px) scale(1.5)'
+```
+
+
 | 名称                                       | 描述                              | 值类型     | 默认值  |
 | ---------------------------------------- | ------------------------------- | ------- | ---- |
 | `translate`/`translateX`/`translateY`    | 指定元素要移动到的位置                     | 像素值或百分比 | 无    |
@@ -88,4 +94,4 @@ animation.transition(ref1, {
   > **注意: 在0.16.0+版本后,iOS上可以获取animation是否执行成功的信息,callback中的`result`参数会有两种,分别是是`Success`与`Fail`,Android目前暂不支持。**
 
 ## 示例
-[animation demo](http://dotwe.org/vue/2d1b61bef061448c1a5a13eac9624410)
+[animation demo](http://dotwe.org/vue/a6c03edd4c5bbd6caea29cac688269a0)