1.1.11 • Published 1 year ago

count_animation v1.1.11

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Count Animation Library

Introduction

The Animated Number Library is a JavaScript library for animating numbers in React and Vue.js applications. It provides a simple way to animate a number from one value to another with a smooth transition.

Installation

To install the library, you can use NPM:

npm install count_animation

Usage

To use the Animated Number Library, you need to import the AnimatedNumber component from the library and use it in your React or Vue.js application.

Here's an example of how to use it in React:

import AnimatedNumber from 'count_animation';

function App() {
  return (
    <div>
      <AnimatedNumber value={42} />
    </div>
  );
}

In this example, the AnimatedNumber component will animate the number from 0 to 42 with a default animation time of 1000 milliseconds.

You can also customize the animation time by passing the animationTime prop to the component:

import AnimatedNumber from 'count_animation';

function App() {
  return (
    <div>
      <AnimatedNumber value={42} animationTime={2000} />
    </div>
  );
}

In this example, the AnimatedNumber component will animate the number from 0 to 42 with an animation time of 2000 milliseconds.

Contributing If you want to contribute to the Animated Number Library, you can submit pull requests or issues on our GitHub repository: https://github.com/mkbek/count_animation.

License The Animated Number Library is licensed under the MIT License.

1.1.1

1 year ago

1.1.0

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago