1.0.9 • Published 2 years ago

hlgx-count-in v1.0.9

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago
npm install hlgx-count-in
or
yarn add hlgx-count-in
or
cnpm  install hlgx-count-in

示例

<template>
  <countIn :startVal='startVal' :endVal='endVal' :duration='3000'></countIn>
</template>

<script>
  import countIn from 'hlgx-count-in';
  export default {
    components: { countIn },
    data () {
      return {
        startVal: 0,
        endVal: 500
      }
    }
  }
</script>

Options

PropertyDescriptiontypedefault
startVal起始值Number0
endVal结束值Number2017
duration以毫秒为单位的持续时间Number3000
autoplay是否自动播放Booleantrue
decimals显示的小数位数Number0
decimal分割小数符号String.
separator分隔符String,
prefix前缀String''
suffix后缀String''
useEasing开启缓动动画Booleantrue
easingFn缓动函数Function
1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago