no message

Former-commit-id: 29c0fed0a3aa767782b2d8486187dc00d332c325
Former-commit-id: b362455389c3549ca135ac222855bd0394910f74
Former-commit-id: b31d354ecc6cb27c26c8062512351f22d1d39d63
This commit is contained in:
李杨
2018-02-14 14:14:43 +08:00
parent 4f3f8927fa
commit 0eab6d56d2
2 changed files with 22 additions and 9 deletions

View File

@@ -1,11 +1,3 @@
## 示例
```
<CountUp
:end="100">
</CountUp>
```
## 参数
| 参数名 | 介绍 | 必选 | 值类型 | 可选值 | 默认值 |
@@ -17,4 +9,25 @@
| options | 设置项 | 非 | Object | | 空对象 |
| callback | 回调函数 | 非 | Function | | 空函数 |
## 示例
```
// 基本使用方法
<CountUp
:end="100">
</CountUp>
// 设置始末值
<CountUp
:start="14"
:end="100">
</CountUp>
// 设置动画时间
<CountUp
:end="100"
:decimals="2">
</CountUp>
```
组件根据 [countUp.js](https://github.com/inorganik/countUp.js) 封装,`options` 参数详见原始插件文档