Skip to content

Commit

Permalink
docs(module:table): document sort properties (NG-ZORRO#4625)
Browse files Browse the repository at this point in the history
* docs(module:table): document sort properties en-US

* Update components/table/doc/index.en-US.md

Co-Authored-By: Hsuan Lee <[email protected]>

Co-authored-by: Hsuan Lee <[email protected]>
  • Loading branch information
2 people authored and Ricbet committed Apr 9, 2020
1 parent 254d1a4 commit 4367730
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions components/table/doc/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,16 @@ Filter property
| `(nzFilterChange)` | Filter change callback `value` | `EventEmitter<any[] \| any>` | - |


Sort property

| Property | Description | Type | Default |
| -------- | ----------- | ---- | ------- |
| `[nzShowSort]` | Whether to show sort | `boolean` | - |
| `[nzSort]` | Sort direction | `'ascend' | 'descend' | null` | - |
| `[nzSortKey]` | Key to sort by | `string` | - |
| `(nzSortChange)` | Sort direction change callback | `EventEmitter<'ascend' \| 'descend' \| null>` | - |


Style property

| Property | Description | Type | Default |
Expand Down

0 comments on commit 4367730

Please sign in to comment.