vue-digital-transform

一个基于 Vue 的数字切换动效库
770 59
Install
npm install vue-digital-transform
Latest Version:1.1.1
Vue:2
License:MIT
Last Updated:Dec 12, 2022
Links: GitHub  ·  npm
Maintainer: dakerplus

vue-digital-transform

一个基于 Vue 的数字切换动效库

Install

npm install vue-digital-transform

Example

<template>
  <DigitalTransform :value="num" dislocation :interval="200"></DigitalTransform>
</template>
import DigitalTransform from "vue-digital-transform";

export default {
  components: {
    DigitalTransform
  },
  data() {
    return {
      num: 0
    };
  }
};

Config

prop type description default
value Number,String 需要切换的数字,只能由 0-9 . , 组成 undefined
dislocation Boolean 单个数字是否过渡时间是否不一致 false
interval Number 单个数字过渡时间(ms) 500
useGrouping (v1.1.0+) Boolean 是否开启分隔符(对 value 为 Number 类型的有效) false

Related Packages

vue-json-tree-view

a JSON Tree View Component in Vue.js

380,792 473
@v-c/picker

picker ui component for vue

57,185 32
vue-frame-crm

vue components for crm system

15,005
kokk

A beautiful way to create a documentation from markdown, and insert a vue compon...

10,142 49
vue-desktop

A UI library for building admin panel website.

4,851 540

Version History

Version Released Vue License
1.1.1 ^2.6.11 MIT
1.1.0 ^2.6.11 MIT
1.0.2 ^2.6.11 MIT
1.0.1 ^2.6.11 MIT
1.0.0 ^2.6.11 MIT