New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

vue-digital-transform

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-digital-transform

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

latest
Source
npmnpm
Version
1.1.1
Version published
Weekly downloads
5
-37.5%
Maintainers
1
Weekly downloads
 
Created
Source

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

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

Keywords

vue

FAQs

Package last updated on 16 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts