vue-countTo
vue-countTo copied to clipboard
It's a vue component that will count to a target number at a specified duration https://panjiachen.github.io/countTo/demo/
自己基于 countup.js 封了一个 vue3 版本,欢迎使用! [vue-countup-v3](https://github.com/jizai1125/vue-countup-v3) 功能: - TypeScript 支持; - 自动计数、无限/有限次循环轮播、自定义过渡动画函数 .... - 丰富的选项配置;
easingFn: { type: Function, default(t, b, c, d) { // 类似这一块有啥计算方式,这个计算公司如何可得? return c * (-Math.pow(2, -10 * t / d) + 1) * 1024 / 1023 + b; } }
如题,可以添加合适的license文件吗?想要在商业项目中使用此组件,但没看到作者是否允许此行为。
use slot,wo we can customized the displayValue like this:  so we can use like this:
页面刷新有个地图加载中,这个东西好卡,先动了一下,然后卡住好久,然后又一顿一顿的动
`` methods: { > easingFn(t, b, c, d){ > > let y = c*t/d+b; //此方法为匀速 > > return y; > > //return c * (-Math.pow(2, -10 * t / d)...
比如 我输入个 124.83394152848399706 然后小数点后保留 decimals=17 却出现了 124.83394152848399017