So why use this library when there are many others with the same name? Well, this library was created because the other solutions weren’t abstract enough to provide a deep level of customization without rewriting the code. (Besides the domain was available, who could pass it up?). Some libraries have a huge cascade of conditionals, while others simply hard-code too much into their scripts. Most projects had a very narrow scope. After reviewing as many of the existing solutions as possible, it was determined a proper extendible API needed to be written to create any kind of clock or counter (and the flip effect is just cool). The following are the logical requirements that were considered when creating the API.
- Use as a clock
- Use as a timer
- Use as a countdown
- Themeable using pure CSS
- Clean & Dry Syntax
- Abstract everything into reusable objects
- Full-Featured Developer API to create custom “Clock Faces”