Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
baiyaaaaa authored and Leopoldthecoder committed Dec 26, 2016
1 parent 22360be commit a96a079
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions examples/docs/en-US/collapse.md
Expand Up @@ -133,18 +133,18 @@ At the same time only one item can be opened.
:::

### Collapse Attributes
| Attribute | Description | Type | Accepted Values | Default |
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---------- |-------------- |---------- |-------------------------------- |-------- |
| accordion | whether is accordion mode | boolean || false |
| value | the active item's name | string/array |||
| accordion | 是否手风琴模式 | boolean || false |
| value | 当前激活的面板(如果是手风琴模式,绑定值类型需要为`string`,否则为`array`) | string/array |||

### Collapse Events
| Event Name | Description | Parameters |
| 事件名称 | 说明 | 回调参数 |
|---------|---------|---------|
| change | trigger when the active names change | (activeNames: array) |
| change | 当前激活面板改变时触发(如果是手风琴模式,参数 `activeNames` 类型为`string`,否则为`array`) | (activeNames: array\|string) |

### Collapse Item Attributes
| Attribute | Description | Type | Accepted Values | Default |
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---------- |-------------- |---------- |-------------------------------- |-------- |
| name | unique identifier | string/number |||
| title | title | string |||
| name | 唯一标志符 | string/number |||
| title | 面板标题 | string |||
2 changes: 1 addition & 1 deletion examples/docs/zh-CN/collapse.md
Expand Up @@ -141,7 +141,7 @@
### Collapse Events
| 事件名称 | 说明 | 回调参数 |
|---------|---------|---------|
| change | 当前激活面板改变时触发(如果是手风琴模式,参数 `activeNames` 类型为`string`,否则为`array`) | (activeNames: array\|array) |
| change | 当前激活面板改变时触发(如果是手风琴模式,参数 `activeNames` 类型为`string`,否则为`array`) | (activeNames: array\|string) |

### Collapse Item Attributes
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
Expand Down

0 comments on commit a96a079

Please sign in to comment.