num-slide

1.0.6 • Public • Published

numslide

A Vue.js component

安装

npm install num-slide

示例

import NumSlide from "num-slide";
export default {
  // ...
  components: {
    NumSlide
  },
  data() {
    return {
      dataNum: 0
    };
  },
  mounted() {
    setTimout(() => {
      this.dataNum = 999.8;
    }, 1000);
  }
  // ...
};
<NumSlide :dataNum="dataNum" :linearGradientColor="{ start: '#29dbde', end: '#329acc' }" maxLength="8" />

Readme

Keywords

none

Package Sidebar

Install

npm i num-slide

Weekly Downloads

0

Version

1.0.6

License

MIT

Unpacked Size

9.23 kB

Total Files

4

Last publish

Collaborators

  • linlinweijie