update changelog

pull/1881/head
Leopoldthecoder 2016-12-20 18:56:04 +08:00 committed by 杨奕
parent c69e30e8c1
commit 64667a4e8e
3 changed files with 6 additions and 2 deletions

View File

@ -18,6 +18,8 @@
- Updated Checkbox so that it works without a binding value, #1818
- Added `onProgress` hook for Progress, #1782
- Fixed Tab not updating active bar with dynamic label, #1761
- Added `filter-change` event for Table, and `column-key` property for TableColumn, #1876
- Added `hide-on-click` property for Dropdown, #1879
### 1.0.7

View File

@ -17,6 +17,8 @@
- 新增 Checkbox 现在支持不绑定 value 也可以正常使用,#1818
- 新增 Progress 的 `onProgress` 钩子函数,#1782
- 修复 Tab 组件 active bar 在动态 label 下没有更新的问题,#1761
- 新增 Table 的 `filter-change` 事件和 TableColumn 的 `column-key` 属性,#1876
- 新增 Dropdown `hide-on-click` 属性,#1879
### 1.0.7
*2016-12-14*

View File

@ -1385,7 +1385,7 @@ Customize table column so it can be integrated with other components.
| row-dblclick | triggers when double clicking a row | row, event |
| header-click | triggers when clicking a column header | column, event |
| sort-change | triggers when Table's sorting changes | { column, prop, order } |
| filter-change | triggers when column's filter condition changes. One object parameter which key is column's columnKey and key's value is filtered values of the column | filters |
| filter-change | column's key. If you need to use the filter-change event, this attribute is mandatory to identify which column is being filtered | filters |
| current-change | triggers when current row changes | currentRow, oldCurrentRow |
### Table Methods
@ -1399,7 +1399,7 @@ Customize table column so it can be integrated with other components.
|---------- |-------------- |---------- |-------------------------------- |-------- |
| type | type of the column. If set to `selection`, the column will display checkbox. If set to `index`, the column will display index of the row (staring from 1) | string | selection/index | — |
| label | column label | string | — | — |
| column-key | column's key. If you need to use the filter-change event, you need this attribute to identify which column is being filtered | string | - | - |
| column-key | column's key. If you need to use the filter-change event, you need this attribute to identify which column is being filtered | string | string | - | - |
| prop | field name. You can also use its alias: `property` | string | — | — |
| width | column width | string | — | — |
| min-width | column minimum width. Columns with `width` has a fixed width, while columns with `min-width` has a width that is distributed in proportion | string | — | — |