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

moshen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git


The following commit(s) were added to refs/heads/master by this push:
     new f4be3c7  Update doc of events.
f4be3c7 is described below

commit f4be3c7b011618bd148f0964660111537698ee0e
Author: qianyuan.wqy <[email protected]>
AuthorDate: Mon Nov 4 15:37:16 2019 +0800

    Update doc of events.
---
 docs/docs/events/common-events.md    | 4 ++--
 docs/zh/docs/events/common-events.md | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/docs/events/common-events.md 
b/docs/docs/events/common-events.md
index 8a10b1b..2aeddaa 100644
--- a/docs/docs/events/common-events.md
+++ b/docs/docs/events/common-events.md
@@ -16,13 +16,13 @@ Weex provide the ability to let events trigger action, like 
starting a JavaScrip
 
 When a parent view has multiple peer views, iOS will select the highest level 
View to respond to the event, and the underlying view event will never be 
responded.
 
-Weex add attribute `eventPenetrationEnabled` to `<div>` component. When the 
value is `true`, the view's children views still respond to the event normally, 
while the view itself will not respond to the event, but pass the event to the 
lower level View.
+Weex add attribute `eventPenetrationEnabled` to `<div>` component. When the 
value is `true`(default would be `false`), the view's children views still 
respond to the event normally, while the view itself will not respond to the 
event, but pass the event to the lower level View.
 
 [Event 
penetration](https://jsplayground.taobao.org/raxplayground/c230a32e-489c-4fda-ae90-40faa6aaafbc??from=)
 
 ## View interactivity
 
-Weex add attribute `userInteractionEnabled` to `<div>` component. When the 
value is `true`, neither the view nor its children views respond to the event. 
The event is passed to the lower layer View.
+Weex add attribute `userInteractionEnabled` to `<div>` component. When the 
value is `false`(default would be `true`), neither the view nor its children 
views respond to the event. The event is passed to the lower layer View.
 
 
 ## Click event
diff --git a/docs/zh/docs/events/common-events.md 
b/docs/zh/docs/events/common-events.md
index 98cc1c9..37957e8 100644
--- a/docs/zh/docs/events/common-events.md
+++ b/docs/zh/docs/events/common-events.md
@@ -10,13 +10,13 @@ Weex 提供了通过事件触发动作的能力,例如在用户点击组件时
 
 当一个父View存在多个同级子View时,由于`iOS`会选择层级最高的View来响应事件,底层的View的事件永远都不会响应。
 
-Weex在`<div>`组件中增加了`eventPenetrationEnabled`属性,当值为`true`时,View的子View仍能正常响应事件,但View自身将不会响应事件,而是将事件向下层View传递。
+Weex在`<div>`组件中增加了`eventPenetrationEnabled`属性,当值为`true`(默认为`false`)时,View的子View仍能正常响应事件,但View自身将不会响应事件。
 
 
[示例](https://jsplayground.taobao.org/raxplayground/c230a32e-489c-4fda-ae90-40faa6aaafbc??from=)
 
 ## View交互性
 
-Weex在`<div>`组件中增加了`userInteractionEnabled`属性,当值为`true`时,View及其子View均不响应事件 
事件向下层View传递
+Weex在`<div>`组件中增加了`userInteractionEnabled`属性,当值为`false`(默认为`true`)时,View及其子View均不响应事件,事件向下层View传递
 
 ## click
 

Reply via email to