0.0.3 • Published 5 years ago

vue-animated-count-to v0.0.3

Weekly downloads
13
License
-
Repository
-
Last release
5 years ago

Vue Animated Count To Component

This is an easy to use count to component for vue js, with zero dependencies.

Installation

You can install the package via npm:

npm install vue-animated-count-to --save

or yarn:

yarn add vue-animated-count-to

Next, you must register the component. The most common use case is to do that globally.

//in your app.js or similar file
import Vue from 'vue';
import AnimatedCountTo from 'vue-animated-count-to';

Vue.component('animated-count-to', AnimatedCountTo);
<template>
  <animated-count-to :number='number' easing='easeInOutQuint' :duration='3000'/>
</template>
<script>
import AnimatedCountTo from 'vue-animated-count-to';
export default {
  components: { AnimatedCountTo },
  data () {
    return {
      number: 200,
    }
  }
}
</script>
0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago