Count
Count
PCount renders a button group for selecting a count value, commonly used with tables.
Demo
Usage
<PCount :counts="[10, 25, 50]" v-model="pageSize" />Props
| Prop | Type | Default | Notes |
|---|---|---|---|
counts | Array | — | Required list of numeric options. |
value | Number | — | Required selected value. |
Events
| Event | Payload | Description |
|---|---|---|
input | Number | Emits the new count. |
change | Number | Alias for input. |