LIVE DEMO: animated likes counter
yarn add @maxflex/v-number
// or
npm install @maxflex/v-number
Just import:
import { VNumber } from "@maxflex/v-number";
And use:
<v-number v-model="someNumber"></v-number>
You can set custom animation speed in ms:
<v-number :speed="2000" v-model="someNumber"></v-number>