You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ef...@apache.org on 2018/12/14 07:27:35 UTC

[incubator-weex-site] branch gubaojian-patch-1 created (now 4ec0548)

This is an automated email from the ASF dual-hosted git repository.

efurture pushed a change to branch gubaojian-patch-1
in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git.


      at 4ec0548  stopPropagation case

This branch includes the following new commits:

     new 4ec0548  stopPropagation case

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-weex-site] 01/01: stopPropagation case

Posted by ef...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

efurture pushed a commit to branch gubaojian-patch-1
in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git

commit 4ec0548d1d43db8e120d0d74361e4e0e8d5aec81
Author: codefurture <gu...@163.com>
AuthorDate: Fri Dec 14 15:27:32 2018 +0800

    stopPropagation case
    
    stopPropagation case
---
 docs/docs/events/common-events.md | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/docs/docs/events/common-events.md b/docs/docs/events/common-events.md
index 2f73a5b..9720c38 100644
--- a/docs/docs/events/common-events.md
+++ b/docs/docs/events/common-events.md
@@ -54,6 +54,19 @@ If a `disappear` event is bound to a component inside a scrollable container, th
 - `timestamp` : Timestamp when event is triggered
 - `direction` : The direction in which the scroller is scrolling. Could be `up` or `down`.
 
+## stopPropagation
+
+when you want to handler list in list, scroller in list which has touch conflict touch scene. you can use this to control touch dispatch.
+together with the following attr to achive smooth nest scroll.
+
+shouldStopPropagationInitResult : default true/false,
+
+shouldStopPropagationInterval  : control touch call frequency with js. reduce js call with native.
+
+### Example
+
+[Scroller With List](http://dotwe.org/vue/48ddb2f7339d1fb116135900a2dbc8e5)
+
 ## Page event
 
 Weex provides you with simple management of page status, such as `viewappear` and `viewdisappear`.