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 | |