toColorstringend color for gradient, in hex format-N formatterFunctionvalue formatter for number in every step during the animationparseIntN animateEndFunctioncallback after animation-N Readme Keywords none Install npm ivue-animate-number Repository ...
通过设置 format 属性,我们可以对数字进行格式化,以满足不同的需求。 总的来说,vue animate-number 是一个功能强大、易于使用的插件,可以帮助我们实现各种数字动画效果,包括小数点的动态变化。无论是制作统计图表的动画效果,还是为网页中的数字元素添加生动感,vue animate-number 都是一个很好的选择。
// For version 2.x.x<NumberAnimationref="number1":from="100":to="10000":format="theFormat":duration="5"autoplayeasing="linear"/>// For version 1.x.x<numbertag="div"animationPausedref="number2":to="10000":duration="5"easing="Back.easeIn"@complete="completed"@click="playAnimation"/>...
fromColor string start color for gradient, in hex format - N toColor string end color for gradient, in hex format - N formatter Function value formatter for number in every step during the animation parseInt N animateEnd Function callback after animation - N Readme KeywordsnonePackage...
toColorstringend color for gradient, in hex format-N formatterFunctionvalue formatter for number in every step during the animationparseIntN animateEndFunctioncallback after animation-N Releases No releases published Packages No packages published