You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ky...@apache.org on 2019/07/23 09:35:52 UTC
[incubator-weex-site] branch master updated: Fix the spell problem
for slider
This is an automated email from the ASF dual-hosted git repository.
kyork 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 8fb8c50 Fix the spell problem for slider
new 2c5a2b3 Merge pull request #456 from YorkShen/bugfix/slider_spell
8fb8c50 is described below
commit 8fb8c50a72f00b1ee33cff0e22c6b1922eec42e5
Author: york.sy <yo...@alibaba-inc.com>
AuthorDate: Tue Jul 23 17:34:59 2019 +0800
Fix the spell problem for slider
---
docs/docs/components/slider.md | 2 +-
docs/zh/docs/components/slider.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/docs/components/slider.md b/docs/docs/components/slider.md
index 6046906..8e2fcba 100644
--- a/docs/docs/components/slider.md
+++ b/docs/docs/components/slider.md
@@ -14,7 +14,7 @@ It supports all kinds of weex components as its slides. The `indicator` componen
* **interval**, number in millisecond. This value determines time interval for each page displayed in slider.
* **index**, number. This value determines the index of current shown slide. The default value is 0.
* **offset-x-accuracy**, number. Set the scroll event trigger precision, precision value represents the rolling distance of a page width ratio.
-* **show-indicators**, boolean. Set whether to display indicator. This attribute is useless if there is no `[<indicator>](.indicator.html)` in the slider despite the default value of `show-indicators` is true.
+* **show-indicators**, boolean. Set whether to display indicator. This attribute is useless if there is no [`<indicator>`](.indicator.html) in the slider despite the default value of `show-indicators` is true.
* **infinite**, boolean. Set whether the page in the slider can be scrolled. The default value is true.
* **scrollable**, boolean. Set whether slider pages can be switched by sliding gestures. The default value is true.
* **keep-index**, boolean, <Badge text="Android" type="warning"/>. Set whether to maintain the index of the page after the data changes.
diff --git a/docs/zh/docs/components/slider.md b/docs/zh/docs/components/slider.md
index ebff24b..1a50455 100644
--- a/docs/zh/docs/components/slider.md
+++ b/docs/zh/docs/components/slider.md
@@ -14,7 +14,7 @@ Slider 组件用于在一个页面中展示多个图片,在前端这种效果
* **interval**, number(ms). 轮播间隔,默认为 3000ms。
* **index**, number. 设置显示slider的第几个页面。
* **offset-x-accuracy**, number. 控制 `onscroll` 事件触发的频率,默认值为10,表示两次 `onscroll` 事件之间滚动容器至少滚动了10px。将该值设置为较小的数值会提高滚动事件采样的精度,但同时也会降低页面的性能。
-* **show-indicators**, boolean. 是否显示指示器。尽管`show-indicator`的默认值是true,本属性只有在slider下包含`[<indicator>](.indicator.html)`时才有意义。
+* **show-indicators**, boolean. 是否显示指示器。尽管`show-indicator`的默认值是true,本属性只有在slider下包含 [`<indicator>`](.indicator.html) 时才有意义。
* **infinite**, boolean. 设置是否可以无限轮播,默认为 true。
* **scrollable**, boolean. 设置是否可以通过滑动手势来切换页面,默认为 true。
* **keep-index**, boolean, <Badge text="Android" type="warning"/>. 设置轮播器中的数据发生变化后是否保持变化前的页面序号。