1.0.6 • Published 9 years ago
vue-count v1.0.6
vue-count
a plugin of count for Vue.js
Installation
<script>IncludeJust include
vue-count.jsafter Vue itself.With Modules
npm install --save-dev vue-count// ES6 // use Vue.use() import Vue from 'vue' import VueCount from 'vue-count' Vue.use(VueCount) // or use component import VueCount from 'vue-count' component: { VueCount }
Component Properties
minrequiredNumberThe number of minimum value
maxrequiredNumberThe number of max value
optionsObjectdurationNumberDefault:
2The count duration (unit for seconds)
reverseBooleanDefault:
falseThe number from min to max or from max to min
decimalNumberDefault:
0The places of how many decimal to keep
'useGroup'
BooleanDefault:
falseWhether to use group