docs: fix translation

This commit is contained in:
Benjy Cui 2016-07-21 10:15:00 +08:00
parent e202c7d2b3
commit 5bee7d2088
5 changed files with 27 additions and 5 deletions

View File

@ -2,7 +2,7 @@
order: 4 order: 4
title: title:
zh-CN: 事件 zh-CN: 事件
en-US: event en-US: Event
--- ---
## zh-CN ## zh-CN

View File

@ -16,6 +16,6 @@ When partial of page is waiting for asynchronous data or during a rendering proc
| Property | Type | Default | Description | | Property | Type | Default | Description |
|------------|----------------|-------------|--------------| |------------|----------------|-------------|--------------|
| size | enum | default | Zize of dot in spin component, avaliable in `small`, `default` and `large`. | | size | enum | default | Size of dot in spin component, avaliable in `small`, `default` and `large`. |
| spinning | boolean | true | Use in embedded mode, to modify loading state. | | spinning | boolean | true | Use in embedded mode, to modify loading state. |
| tip | string | None | Customize decription content | | tip | string | None | Customize decription content |

View File

@ -0,0 +1,22 @@
---
category: Components
type: Other
title: Spin
subtitle: 加载中
---
用于页面和区块的加载中状态。
## 何时使用
页面局部处于等待异步数据或正在渲染过程时,合适的加载动效会有效缓解用户的焦虑。
## API
| 参数 | 类型 | 默认值 | 说明 |
|------------|----------------|-------------|--------------|
| size | enum | default | spin组件中点的大小可选值为 small default large |
| spinning | boolean | true | 用于内嵌其他组件的模式,可以关闭 loading 效果 |
| tip | string | 无 | 自定义描述文案 |

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
type: Views type: Views
english: Tree title: Tree
--- ---
## When to use ## When to use

View File

@ -1,8 +1,8 @@
--- ---
category: Components category: Components
chinese: 树形控件
type: Views type: Views
english: Tree title: Tree
subtitle: 树形控件
--- ---
## 何时使用 ## 何时使用