tm-odometer
Version:
TmOdometer: Lightweight JavaScript library for animated numeric counters with smooth transitions and precise decimal handling.
12 lines (11 loc) • 403 B
TypeScript
/**
* Settings
*/
declare const DIGIT_FORMAT = "(,ddd).dd";
declare const FORMAT_PARSER: RegExp;
declare const DURATION = 2000;
declare const FRAMES_PER_VALUE = 2;
declare const DIGIT_SPEEDBOOST = 0.5;
declare const MS_PER_FRAME: number;
declare const COUNT_MS_PER_FRAME: number;
export { DIGIT_FORMAT, FORMAT_PARSER, DURATION, FRAMES_PER_VALUE, DIGIT_SPEEDBOOST, MS_PER_FRAME, COUNT_MS_PER_FRAME, };