Skip to content

to display digit flipping effect(or rolling effect) 数字滚动效果、数字翻转效果、数字翻动效果https://sishenhei7.github.io/digit-flip/

Notifications You must be signed in to change notification settings

sishenhei7/digit-flip

Repository files navigation

digit-flip

CircleCI

to display digit flipping effect(or rolling effect) 数字滚动效果、数字翻转效果、数字翻动效果

(初衷:数字滚动的库有很多,但是 PM 说希望在数字里面加一个千分位逗号,其它库并没有这个功能,所以我自己写了一个~)

demo

Getting Started

install

To begin with, just install digit-flip:

npm i digit-flip -s

Then,register it in main.js:

Vue.use(DigitFlip)

examples

You can use DigitFlip as a vue component anywhere like this:

<digit-flip :value="num" />

For more usage, please check demo-source-code

About

to display digit flipping effect(or rolling effect) 数字滚动效果、数字翻转效果、数字翻动效果https://sishenhei7.github.io/digit-flip/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published