pagination.d.ts
982 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import { ElementUIComponent } from './component'
/** Pagination Component */
export declare class ElPagination extends ElementUIComponent {
/** Whether to use small pagination */
small: boolean
/** Item count of each page */
pageSize: number
/** Total item count */
total: number
/** Total page count. Set either total or page-count and pages will be displayed; if you need page-sizes, total is required */
pageCount: number
/** Number of pagers */
pagerCount: number
/** Current page number */
currentPage: number
/**
* Layout of Pagination. Elements separated with a comma.
* Accepted values: `sizes`, `prev`, `pager`, `next`, `jumper`, `->`, `total`, `slot`
*/
layout: string
/** Options of item count per page */
pageSizes: number[]
/** Custom class name for the page size Select's dropdown */
popperClass: string
/** Text for the prev button */
prevText: string
/** Text for the prev button */
nextText: string
}