1.0.3 • Published 5 years ago

number-animation v1.0.3

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

plugins

A Vue.js project

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

使用

在main.js里 import numberAnimation from 'number-animation' Vue.use(numberAnimation) 页面引用:

参数说明

animate:1或2(两张不同的动画模式,type:Number) begin : 起始值 默认0 (type:Number) end : 起始值 默认9 (type:Number) time : 动画时长 默认2000 (type:Number,单位:毫秒) width :宽度 默认40 (type:Number) height :宽度 默认50 (type:Number) For detailed explanation on how things work, consult the docs for vue-loader.