You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by so...@apache.org on 2017/06/08 10:49:32 UTC
[08/15] incubator-weex git commit: * [doc] update format
* [doc] update format
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/c5f94f27
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/c5f94f27
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/c5f94f27
Branch: refs/heads/0.14-dev
Commit: c5f94f27e88801320642fc5cbfdac3034803bc83
Parents: a279c23
Author: acton393 <zh...@gmail.com>
Authored: Wed Jun 7 17:22:34 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Wed Jun 7 17:22:34 2017 +0800
----------------------------------------------------------------------
doc/source/references/modules/animation.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/c5f94f27/doc/source/references/modules/animation.md
----------------------------------------------------------------------
diff --git a/doc/source/references/modules/animation.md b/doc/source/references/modules/animation.md
index 2904898..29de02b 100644
--- a/doc/source/references/modules/animation.md
+++ b/doc/source/references/modules/animation.md
@@ -13,13 +13,13 @@ Smooth and meaningful animation is very effective for enhancing the user experie
### transition(node, options, callback)
#### Arguments
-- node
+##### node
**type:** node
**position:** An element that will be animated, for example , specify the `ref` attribute for the element you want to animated as `element`, so you can get this element by calling `this.refs.element`.
-- options
+##### options
**type:** object
@@ -55,7 +55,7 @@ properties of `transform`:
|rotate|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
+##### callback
**type:** function
**position:** Callback which is called after the completion of transition.