Skip to content

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

PropTypeDefaultNotes
countsArrayRequired list of numeric options.
valueNumberRequired selected value.

Events

EventPayloadDescription
inputNumberEmits the new count.
changeNumberAlias for input.