vue3-scrolling-number

一个仅支持 vue3 的滚动数字组件, 也是少有的任何时候都顺着一个方向滚动的数字组件.组件会自动记住上次的数字(即 from),不需要开发者处理 from 的动态值.
483 1
Install
npm install vue3-scrolling-number
Latest Version:0.0.12
Vue:3
Last Updated:Feb 7, 2024
Links: GitHub  ·  npm
Maintainer: niboac

vue3-scrolling-number

一个仅支持 vue3 的滚动数字组件, 也是少有的任何时候都顺着一个方向滚动的数字组件.组件会自动记住上次的数字(即 from),不需要开发者处理 from 的动态值.

效果

img

安装

npm install vue3-scrolling-number

或者

pnpm add vue3-scrolling-number

使用

import {Vue3ScrollingNumber} from 'vue3-scrolling-number'
import 'vue3-scrolling-number/dist/style.css'

 
 <Vue3ScrollingNumber
      style="font-size: 55px;"
      :from="21"
      :to="value"
    />

Related Packages

easyscroll

this is a tiny scroll bar plugin for vue2.0

871 41
vue-dragscroll

vue directive to make a scrollable element scroll by draging to the scroll direc...

1,541,547 264
vue3-smooth-scroll

Simple vue smooth scroll

209,775 34
vue2-smooth-scroll

Simple vue smooth scroll

127,387 121
v-smooth-scroll

Simple vue smooth scroll

65,632 19

Version History

Version Released Vue License
0.0.12 ^3.4.15
0.0.10 ^3.3.11 MIT
0.0.9 ^3.4.15
0.0.8 ^3.4.15
0.0.7 ^3.4.15