You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by zs...@apache.org on 2018/12/29 09:50:15 UTC

[incubator-weex-site] branch master updated: Update list.md

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

zshshr 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 84ab68f  Update list.md
84ab68f is described below

commit 84ab68f2244e86716cc065c1b5693de27be6805b
Author: zshshr <zh...@gmail.com>
AuthorDate: Sat Dec 29 17:50:11 2018 +0800

    Update list.md
---
 source/cn/references/components/list.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/cn/references/components/list.md b/source/cn/references/components/list.md
index fd956bc..50630ec 100644
--- a/source/cn/references/components/list.md
+++ b/source/cn/references/components/list.md
@@ -44,7 +44,7 @@ version: 2.1
 - `show-scrollbar {boolean}`:可选值为 true/ false,默认值为 true。控制是否出现滚动条。
 - `loadmoreoffset {number}`:默认值为 0,触发 `loadmore` 事件所需要的垂直偏移距离(设备屏幕底部与 `<list>` 底部之间的距离)。当 `<list>` 的滚动条滚动到足够接近 `<list>` 底部时将会触发 `loadmore` 这个事件。
 - `offset-accuracy {number}` <sup class="wx-v">0.11+</sup>:控制`onscroll`事件触发的频率,默认值为10,表示两次`onscroll`事件之间列表至少滚动了10px。注意,将该值设置为较小的数值会提高滚动事件采样的精度,但同时也会降低页面的性能。
--  `pagingEnabled {boolean}`:可选值为 true/ false,默认值为 false。控制是否每次滚动一个cell,并最终定位在元素中心位置,类似垂直的viewpage交互。则对应 `0`<span class="api-version">v0.20+</span>.[pagingEnabled示例](http://dotwe.org/vue/1323c218072f17f10e14a5c336dac3c4)
+-  `pagingEnabled {boolean}`:可选值为 true/ false,默认值为 false。控制是否每次滚动一个cell,并最终定位在元素中心位置,类似垂直的viewpage交互。则对应 `0`<span class="api-version">v0.20+</span>.[pagingEnabled示例](http://dotwe.org/vue/1323c218072f17f10e14a5c336dac3c4)
 -  `scrollable {boolean}`:可选值为 true/ false,默认值为 true。控制list是否可以滚动
 
   ![mobile_preview](../images/list_4.jpg)