Skip to content

VCounter API

属性

名称类型默认值
active
Determines whether the counter is visible or not.
disabled
Removes the ability to click or target the component.
max
Sets the maximum allowed value.
transition
Sets the component transition. Can be one of the built in or custom transition.
value
Sets the current counter value.

插槽

default
The default Vue slot.

SASS 变量

名称默认值
$counter-color
$counter-flex
$counter-font-size
$counter-line-height
$counter-min-height
$counter-transition-duration