mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-04 21:27:52 +08:00
29 lines
740 B
TypeScript
29 lines
740 B
TypeScript
|
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
|
||
|
|
||
|
/** 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[]
|
||
|
}
|