1.0.6 • Published 5 years ago

vue-count-component v1.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

vue-count-componet

A count-to component of vue

Use Setup

# install dependencies
npm install vue-count-component -S

# use
main.js
import CountComponent from 'vue-count-component' 
Vue.use(CountComponent)

everyone.vue
import CountComponent from 'vue-count-component' 
components:{
    CountComponent
}

<count-component :startVal='0' :endVal='2018'/></count-component>
  • startVal = 起始值 the value you want to begin at
  • endVal = 结束值 the value you want to arrive at
  • decimals = 小数点后保留位数 (optional) number of decimal places in number, default 0
  • duration = 时间 (optional) duration in seconds, default 2
  • options = see countUp.js or demo
1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago