tm-odometer

1.0.6 • Public • Published

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

Overview

Docs and Demo

Readme

Keywords

none

Package Sidebar

Install

npm i tm-odometer

Weekly Downloads

354

Version

1.0.6

License

MIT

Unpacked Size

531 kB

Total Files

37

Last publish

Collaborators

  • mtmarco