mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
14 lines
339 B
Vue
14 lines
339 B
Vue
<script>
|
|
import CountTo from 'vue-count-to'
|
|
export default {
|
|
extends: CountTo,
|
|
props: {
|
|
startVal: { type: Number, default: 0 },
|
|
endVal: { type: Number, required: true },
|
|
duration: { type: Number, default: 3000 },
|
|
autoplay: { type: Boolean, default: true },
|
|
separator: { type: String, default: '.' }
|
|
}
|
|
}
|
|
</script>
|