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/08/07 04:52:54 UTC

[1/2] incubator-weex-site git commit: add pagingEnabled version info

Repository: incubator-weex-site
Updated Branches:
  refs/heads/master 291ab9bc1 -> 6f8bf9257


add pagingEnabled version info


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

Branch: refs/heads/master
Commit: 3fb36c225fa2dae1b21c93ce3e33a3ca19f7a409
Parents: 6afcb1c
Author: zshshr <zh...@gmail.com>
Authored: Mon Aug 6 19:37:01 2018 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Mon Aug 6 19:37:01 2018 +0800

----------------------------------------------------------------------
 source/cn/references/components/list.md | 2 +-
 source/references/components/list.md    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/3fb36c22/source/cn/references/components/list.md
----------------------------------------------------------------------
diff --git a/source/cn/references/components/list.md b/source/cn/references/components/list.md
index 07506ea..2613fde 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交互。[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)
 
   ![mobile_preview](../images/list_4.jpg)
   

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/3fb36c22/source/references/components/list.md
----------------------------------------------------------------------
diff --git a/source/references/components/list.md b/source/references/components/list.md
index dc529cc..4030470 100644
--- a/source/references/components/list.md
+++ b/source/references/components/list.md
@@ -41,7 +41,7 @@ Notes: The list now supports the following child components: cell, header, refre
 * loadmoreoffset : <number> default value is 0. The loadmore event will be triggered when the list is loadmoreoffset left to reach the bottom of the list view. e.g. a list has total content length of 1000, and the loadmoreoffset is set to 400, the loadmore event will be triggered when 600 has beed scrolled and there is less than 400 left.
 * loadmoreretry : <number> default value 0,whether to reset loadmore related UI when loadmore failed, will be deprecated in further release.
 * offset-accuracy:<number> default value is 0, the vertical offset distance required to trigger the scroll event.
-* pagingEnabled: <boolean> default value is false. supporting pager style snapping in vertical orientation. Example : [pagingEnabled](http://dotwe.org/vue/1323c218072f17f10e14a5c336dac3c4)
+* pagingEnabled: <boolean> default value is false. supporting pager style snapping in vertical orientation. support version: `0`<span class="api-version">v0.20+</span>. Example : [pagingEnabled](http://dotwe.org/vue/1323c218072f17f10e14a5c336dac3c4)
 
 
 Please checkout [Scroller Component Attributes](./scroller.html) to have a look at the inherited attributes from direct parent.


[2/2] incubator-weex-site git commit: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-weex-site

Posted by zs...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-weex-site


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

Branch: refs/heads/master
Commit: 6f8bf9257c795509d0c561f5f2f080c8423cdd50
Parents: 3fb36c2 291ab9b
Author: zshshr <zh...@gmail.com>
Authored: Tue Aug 7 12:52:24 2018 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Tue Aug 7 12:52:24 2018 +0800

----------------------------------------------------------------------
 examples/cases.js                     | 2 +-
 themes/weex/source/js/examples.min.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------