You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by mo...@apache.org on 2018/12/23 13:44:17 UTC

[incubator-weex-site] branch draft updated: Add doc for indicator.

This is an automated email from the ASF dual-hosted git repository.

moshen pushed a commit to branch draft
in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git


The following commit(s) were added to refs/heads/draft by this push:
     new 18eaa5d  Add doc for indicator.
18eaa5d is described below

commit 18eaa5d92167f4700f4d50de49642fdef8afe6cf
Author: wqyfavor <qi...@taobao.com>
AuthorDate: Sun Dec 23 21:44:08 2018 +0800

    Add doc for indicator.
---
 docs/docs/components/indicator.md    | 27 +++++++++++++++++++++++++++
 docs/zh/docs/components/indicator.md | 27 +++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/docs/docs/components/indicator.md b/docs/docs/components/indicator.md
new file mode 100644
index 0000000..fec3e4c
--- /dev/null
+++ b/docs/docs/components/indicator.md
@@ -0,0 +1,27 @@
+# &lt;indicator&gt;
+
+## Summary
+
+`indicator` is used inside a `slider`.
+
+## Child Components
+
+Cannot have any sub component.
+
+## Attributes
+
+No attributes.
+
+## Styles
+
+* **item-color**, color. The unselected color of an indicator dot.
+* **item-selected-color**, color. The selected color of an indicator dot.
+* **item-size**, number. Radius of indicator dot.
+
+## Events
+
+No events.
+
+## Example
+
+Please refer to [slide](./slide.html)
diff --git a/docs/zh/docs/components/indicator.md b/docs/zh/docs/components/indicator.md
new file mode 100644
index 0000000..3271b0e
--- /dev/null
+++ b/docs/zh/docs/components/indicator.md
@@ -0,0 +1,27 @@
+# &lt;indicator&gt;
+
+## 简介
+
+`indicator` 只能在 `slider` 中使用。
+
+## 子组件
+
+不可添加任何子元素。
+
+## 属性
+
+无扩展属性
+
+## 样式
+
+* **item-color**, color. 指示点默认颜色(未选中态)。
+* **item-selected-color**, color. 指示点选中颜色。
+* **item-size**, number. 指示点半径。
+
+## 事件
+
+无事件
+
+## 示例
+
+请参考 [slide](./slide.html)