|
2 | 2 |
|
3 | 3 | ### props |
4 | 4 |
|
5 | | -| Property | Description | Type | Optional value | Default | |
6 | | -| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- | ----------------------------------------------------- | ----------------------------------------------------- | ------------- | |
7 | | -| layout | Layout settings can be matched according to your own business scenarios | `Array` | ['total', 'prev', 'pager', 'next', 'sizer', 'jumper'] | ['total', 'prev', 'pager', 'next', 'sizer', 'jumper'] | |
8 | | -| total | Total Count | `Number` | - | - | |
9 | | -| pageIndex | Current page number | `Number` | - | 1 | |
10 | | -| pagingCount | The number of buttons in the middle of forward 5 pages and backward 5 pages | `Number` | - | 5 | |
11 | | -| pageSize | Page size | `Number` | - | 10 | |
12 | | -| pageSizeOption | Per page size drop-down option | `Array` | - | [10, 20, 30] | |
13 | | -| popperAppendTo | Parent Node which the selector should be rendered to. Default to `body`. When position issues happen, try to modify it into scrollable content and position it relative. [Example]() | `String | HTMLElement` | - | document.body | |
| 5 | +| Property | Description | Type | Optional value | Default | |
| 6 | +| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ----------------------------------------------------- | ----------------------------------------------------- | ------------- | |
| 7 | +| layout | Layout settings can be matched according to your own business scenarios | `Array` | ['total', 'prev', 'pager', 'next', 'sizer', 'jumper'] | ['total', 'prev', 'pager', 'next', 'sizer', 'jumper'] | |
| 8 | +| total | Total Count | `Number` | - | - | |
| 9 | +| pageIndex | Current page number | `Number` | - | 1 | |
| 10 | +| pagingCount | The number of buttons in the middle of forward 5 pages and backward 5 pages | `Number` | - | 5 | |
| 11 | +| pageSize | Page size | `Number` | - | 10 | |
| 12 | +| pageSizeOption | Per page size drop-down option | `Array` | - | [10, 20, 30] | |
| 13 | +| popperAppendTo | Parent Node which the selector should be rendered to. Default to `body`. When position issues happen, try to modify it into scrollable content and position it relative. [Example](https://codesandbox.io/s/vue-easytable-2-15-0-example-forked-q9k3m0?file=/Example.vue) | `String | HTMLElement` | - | document.body | |
14 | 14 |
|
15 | 15 | ### Event |
16 | 16 |
|
|
0 commit comments