Repository: incubator-weex-site
Updated Branches:
  refs/heads/master 49c0c4a32 -> e586bc467


[doc][android] Weex Document Gesture (resolve #28)


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/e586bc46
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/tree/e586bc46
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/diff/e586bc46

Branch: refs/heads/master
Commit: e586bc467d3565adeafa647eb49f8635f16a0d36
Parents: 49c0c4a
Author: Hanks <zhanghan...@gmail.com>
Authored: Thu Jan 18 12:21:58 2018 +0800
Committer: Hanks <zhanghan...@gmail.com>
Committed: Thu Jan 18 12:21:58 2018 +0800

----------------------------------------------------------------------
 source/cn/wiki/gestures.md           | 1 +
 source/references/components/list.md | 1 +
 source/wiki/gestures.md              | 1 +
 3 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/e586bc46/source/cn/wiki/gestures.md
----------------------------------------------------------------------
diff --git a/source/cn/wiki/gestures.md b/source/cn/wiki/gestures.md
index dd75b31..1d2c207 100644
--- a/source/cn/wiki/gestures.md
+++ b/source/cn/wiki/gestures.md
@@ -21,6 +21,7 @@ Weex 封装
了原生的触摸事件以提供手势系统。使用手势类似于
        - `touchstart` 将在触摸到触摸面上时触发。
        - `touchmove` 将在触摸点在触摸面移动时被触发。
        - `touchend` 将在从触摸面离开时被触发。
+       - `shouldStopPropagation`   每个touch事件都会被传递过来, 
可控制touch事件是否冒泡(返回true)或者
停止(返回false);用于解决事件冲突或者自定义手势。<span 
class="api-version">v0.18+</span>
 
 - **Pan**:`pan` 
手势也会返回触摸点在触摸面的移动信息,有点类似于 
`touch` 手势。但是 `pan` 手势只会采样收集部分事件信息因
此比 `touch` 事件要快得多,当然精准性差于 `touch`。`pan` 
也有三中类型的手势,这些手势的意义与 `touch` 完全一样:
 

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/e586bc46/source/references/components/list.md
----------------------------------------------------------------------
diff --git a/source/references/components/list.md 
b/source/references/components/list.md
index 253d86d..a9f90f1 100644
--- a/source/references/components/list.md
+++ b/source/references/components/list.md
@@ -39,6 +39,7 @@ Please checkout [Scroller Component 
Attributes](./scroller.html) to have a look
 
 ### Styles
 
+
 common styles: check out [common styles for components](../common-style.html)
 
 * support flexbox related styles

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/e586bc46/source/wiki/gestures.md
----------------------------------------------------------------------
diff --git a/source/wiki/gestures.md b/source/wiki/gestures.md
index 232d6b1..cb3cb69 100644
--- a/source/wiki/gestures.md
+++ b/source/wiki/gestures.md
@@ -19,6 +19,7 @@ For now, there are four types of gestures:
        * `touchstart` will be fired when a touch point is placed on the touch 
surface.
        * `touchmove` will be fired when a touch point is moved along the touch 
surface.
        * `touchend` will be fired when a touch point is removed from the touch 
surface.
+       * `shouldStopPropagation`  every touch event will be fired, you can 
control touch event whether should be bubbled by return true(should bubble) or 
false(touch event consumed by this view, will not be bubbled). this can be used 
to handle touch confliction between views. (since v0.18+)
 * **Pan**. Pan gesture also report motion of touch point on the touch surface, 
which is similar to touch gesture. But Pan gesture is sampled and faster than 
the touch event. As consequence, it is less accuracy than touch gesture. There 
are also three types of Pan gesture, and the meaning of these types is very 
close to types of Touch.
        * `panstart`
        * `panmove`

Reply via email to