Skip to content

Smoothly transitions numbers with ease. Modified to support custom rollover. #hubspot-open-source

License

Notifications You must be signed in to change notification settings

SunsetArchon/odometer

 
 

Repository files navigation

Odometer

Odometer is a Javascript and CSS library for smoothly transitioning numbers.

This is a modified fork of the original repository in response to the concerns brought up in Issue #111, which requests support for time format HH:MM:SS.

While getting the numbers formatted as such is as easy as concatenating the hours, minutes, and seconds together into a string, the issue with the original repository is that when counting up from 59 to 00 or down from 00 to 59, the odometer would unnecessarily flip through numbers 60 through 99, creating an unnecessarily long animation. This repository works to resolve this issue and provide custom functionality to how odometer digits rollover.

Countdown Timer - For source, see test/countdown.html

About

Smoothly transitions numbers with ease. Modified to support custom rollover. #hubspot-open-source

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 54.8%
  • CoffeeScript 23.8%
  • Sass 10.9%
  • HTML 10.3%
  • Ruby 0.2%