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/29 13:49:05 UTC

[incubator-weex-site] branch gubaojian-patch-2 created (now 588c572)

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

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


      at 588c572  add suggestion for load more offset

This branch includes the following new commits:

     new 588c572  add suggestion for load more offset

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: add suggestion for load more offset

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-2
in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git

commit 588c5726057dfa7e512b46d119e601e561fede52
Author: codefurture <gu...@163.com>
AuthorDate: Sat Dec 29 21:49:01 2018 +0800

    add suggestion for load more offset
    
    add suggestion for load more offset
---
 docs/zh/docs/components/list.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/zh/docs/components/list.md b/docs/zh/docs/components/list.md
index 97f44be..8128d28 100644
--- a/docs/zh/docs/components/list.md
+++ b/docs/zh/docs/components/list.md
@@ -59,7 +59,7 @@
     </tr>
     <tr>
       <td>loadmoreoffset</td>
-      <td>触发 loadmore 事件所需要的垂直偏移距离(设备屏幕底部与 <code>list</code> 底部之间的距离)</td>
+      <td>触发 loadmore 事件所需要的垂直偏移距离(设备屏幕底部与 <code>list</code> 底部之间的距离),建议手动设置此值,设置大于0的值即可</td>
       <td>number</td>
       <td>0</td>
     </tr>
@@ -71,7 +71,7 @@
     </tr>
      <tr>
       <td>pagingEnabled</td>
-      <td>是否按分页模式线上List,默认值false</td>
+      <td>是否按分页模式线上List,默认值false<Badge text="v0.20+" type="warning"/></td>
       <td>boolean</td>
       <td>true/false</td>
     </tr>
@@ -89,7 +89,7 @@
 
 ## 事件
 * `loadmore` 事件  
-  如果列表滚动到底部将会立即触发这个事件,你可以在这个事件的处理函数中加载下一页的列表项。
+  如果列表滚动到底部将会立即触发这个事件,你可以在这个事件的处理函数中加载下一页的列表项。 如果未触发,请检查是否设置了loadmoreoffset的值,建议此值设置大于0
 * `scroll` 事件  
   列表发生滚动时将会触发该事件,事件的默认抽样率为 10px,即列表每滚动 10px 触发一次,可通过属性 offset-accuracy 设置抽样率。