BlogPlaygroundOne

VCounter API


Props
name
type
default
boolean
false

Determines whether the counter is visible or not.

boolean
false

Removes the ability to click or target the component.

string | number
undefined

Sets the maximum allowed value.

  | string
  | boolean
  | (TransitionProps & { component: Component })
  | { component: Component }
{component: {name: 'slide-y-transition'}}

Sets the component transition. Can be one of the built in or custom transition.

string | number
0

Sets the current counter value.

Slots
{ counter: string; max: string | number; value: string | number }

The default Vue slot.

SASS Variables