Pagination
Pagination for lists/tables.
Basic Usage
loading
Page Size Select & Simple Layout
loading
Full Layout
Use layout to combine: total, sizes, prev, pager, next, jumper. All three (total, sizes, jumper) can be hidden; default shows only total.
loading
API
| Prop | Description | Type |
|---|---|---|
| current | Current page (supports v-model:current) | number |
| pageSize | Page size (supports v-model:pageSize) | number |
| total | Total count | number |
| pageSizes | Page size options | number[] |
| pagerCount | Visible page buttons (1–10, default 5) | number |
| layout | Layout component combination | string |
| background | Whether buttons have background | boolean |
| small | Small size | boolean |
Events: current-change, size-change.