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:50:25 UTC

[incubator-weex-site] branch master updated: Update spell 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 a06943d  Update spell for slider.
     new f767e05  Merge pull request #457 from YorkShen/bugfix/slider_spell2
a06943d is described below

commit a06943dcd0b4a784ec6211e9798787b69cdeb376
Author: york.sy <yo...@alibaba-inc.com>
AuthorDate: Tue Jul 23 17:49:17 2019 +0800

    Update spell 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 8e2fcba..e8b65c8 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 1a50455..1bbe1eb 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"/>. 设置轮播器中的数据发生变化后是否保持变化前的页面序号。