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)