Skip to content

[Javascript] TmOdometer (Decimal Fixed). Smoothly transitions numbers with ease.

License

Notifications You must be signed in to change notification settings

mtmarco87/odometer

 
 

Repository files navigation

TmOdometer (Decimal Fixed)

Powered by: Marco Trinastich GitHub

Odometer is an awesome Javascript and CSS library for smoothly transitioning numbers originally made by Adam Schwartz and Zack Bloom (HubSpot).

NOTE:

In this version I have implemented an useful fix, the decimal precision passed in input to the component is now preserved during and after the animation, thus making visible also the zeroes at the end of an integer number (e.g. with a precision of 2, 1200 will be displayed as 1200.00)

Angular 9 version

I have created also an Angular 9 version of this library. If you need it check this link: TmNgOdometer

Original Library Documentation

About

[Javascript] TmOdometer (Decimal Fixed). Smoothly transitions numbers with ease.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 70.1%
  • CoffeeScript 26.2%
  • HTML 3.5%
  • Ruby 0.2%