CountUp component for Vue.js
npm install @wjtools/vue-countup> CountUp component for Vue.js
`` bash`
$ yarn add @wjtools/vue-countup
` vue
`
- type: Number0
- default:
The value you want to begin at
- required: trueNumber
- type: 0
- default:
The value you want to arrive at
- type: Number0
- default:
Number of decimal places in number
- type: Number0
- default:
Duration in seconds
- type: Stringspan
- default:
- type: String
- type: Booleanfalse
- default:
Animating to large numbers
- type: Number{ useGrouping: false }
- default:
Formatting/easing options object
See more CountUp.js
* start: Start animationpauseResume
* : Toggle pause/resumereset
* : Reset an animationupdate
* : Update the end value and animat
` vue
`
* done: ({ countup }) => void
Emits when the animation completes
` vue
``
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Opera (latest)
- Edge (latest)
- Internet Explorer 9+