mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-24 12:45:18 +08:00
31 lines
679 B
Markdown
31 lines
679 B
Markdown
# Pagination
|
|
|
|
<!--single-column-->
|
|
|
|
Long data's friend.
|
|
|
|
## Demos
|
|
|
|
```demo
|
|
basic
|
|
slot
|
|
quick-jumper
|
|
size-picker
|
|
disabled
|
|
```
|
|
|
|
## Props
|
|
|
|
| Name | Type | Default | Description |
|
|
| --- | --- | --- | --- |
|
|
| page-count | `number` | required | |
|
|
| page-sizes | `Array<number>` | `[]` | |
|
|
| page-size | `number` | `undefined` | |
|
|
| page-slot | `number` | `9` | |
|
|
| page | `number` | required | |
|
|
| show-quick-jumper | `boolean` | `false` | |
|
|
| show-size-picker | `boolean` | `false` | |
|
|
| theme | `'light' \| 'dark' \| string` | `undefined` | |
|
|
| on-update:page | `(page: number) => any` | `undefined` | |
|
|
| on-update:page-size | `(pageSize: number) => any` | `undefined` | |
|