Repository: incubator-weex-site
Updated Branches:
  refs/heads/master 72ea27d4f -> 385adb444


[doc] add index property for slider component


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

Branch: refs/heads/master
Commit: 385adb444c0843ce0dda4983625e9b6f60d15746
Parents: 72ea27d
Author: acton393 <zhangxing610...@gmail.com>
Authored: Fri Mar 2 16:45:41 2018 +0800
Committer: acton393 <zhangxing610...@gmail.com>
Committed: Fri Mar 2 16:45:41 2018 +0800

----------------------------------------------------------------------
 source/cn/references/components/slider.md | 3 +++
 source/references/components/slider.md    | 3 +++
 2 files changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/385adb44/source/cn/references/components/slider.md
----------------------------------------------------------------------
diff --git a/source/cn/references/components/slider.md 
b/source/cn/references/components/slider.md
index 4014daa..ad90222 100644
--- a/source/cn/references/components/slider.md
+++ b/source/cn/references/components/slider.md
@@ -26,6 +26,9 @@ version: 2.1
 - `infinite {boolean}`:循环播放,可选值为 
`true`/`false`,默认的是 `true`。
 - `offset-x-accuracy {number}`<sup 
class="wx-v">0.11+</sup>:控制`onscroll`事件触发的频率,默认值为10,表示两次`onscroll`事件之间Slider
 
Page至少滚动了10px。注意,将该值设置为较小的数值会提高滚动事件采æ
 ·çš„精度,但同时也会降低页面的性能。
 
+- `index {number}`: 指定当前展示页面的索引
+  [体验一下](http://dotwe.org/vue/58a29d38247e7946a6db44e1b616f082)
+
 ## 样式
 
 - 通用样式:支持所有通用样式

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/385adb44/source/references/components/slider.md
----------------------------------------------------------------------
diff --git a/source/references/components/slider.md 
b/source/references/components/slider.md
index 5b9c192..b6bec18 100644
--- a/source/references/components/slider.md
+++ b/source/references/components/slider.md
@@ -23,6 +23,9 @@ It supports all kinds of weex components as its slides, 
especially the `indicato
 - `index`: <number> . This value determines the  index of current shown slide. 
The default value is `0`.
 - `offset-x-accuracy {float}`:set the scroll event trigger precision, 
precision value represents the rolling distance of a page width ratio.
 
+- `index {number}`: specify current page index of slider 
+  [try in dotWe](http://dotwe.org/vue/58a29d38247e7946a6db44e1b616f082)
+
 ## Styles
 
 **common styles**: check out [common styles for 
components](../common-style.html)

Reply via email to