docs(Pagination): improve document
This commit is contained in:
@@ -44,7 +44,7 @@ export default {
|
||||
/>
|
||||
```
|
||||
|
||||
### Custom Render
|
||||
### Custom Button
|
||||
|
||||
```html
|
||||
<van-pagination v-model="currentPage" :total-items="50" :show-page-size="5">
|
||||
@@ -84,6 +84,6 @@ export default {
|
||||
|
||||
| Name | Description | SlotProps |
|
||||
| --- | --- | --- |
|
||||
| page `v2.10.9` | Custom pagination item | `{ number: number, text: string, active: boolean }` |
|
||||
| page `v2.10.9` | Custom pagination item | _{ number: number, text: string, active: boolean }_ |
|
||||
| prev-text `v2.10.9` | Custom prev text | `-` |
|
||||
| next-text `v2.10.9` | Custom next text | `-` |
|
||||
|
||||
Reference in New Issue
Block a user