Pagination
Pagination
PPagination renders a numeric pagination control with configurable visible range.
Demo
Usage
<PPagination :total="12" v-model="page" />Props
| Prop | Type | Default | Notes |
|---|---|---|---|
total | Number | 0 | Required total number of pages. |
value | Number | 0 | Required active page. |
shown | Number | 4 | Count of middle buttons to show. |
Events
| Event | Payload | Description |
|---|---|---|
input | Number | Emits page changes. |
change | Number | Alias for input. |