# Counter-Up-Final **Repository Path**: javascript_library_repair/Counter-Up-Final ## Basic Information - **Project Name**: Counter-Up-Final - **Description**: Counter-Up is a jQuery plugin that animates a number from zero (counting up towards it). It supports counting up: 修复一下小bug - **Primary Language**: JavaScript - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-01-09 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 修复了一些小bug 频繁显示的时候会出现Uncaught TypeError: Cannot read property 'shift' of null 然后数字显示错误 已修复 Counter-Up ========== Counter-Up is a jQuery plugin that *animates* a number from zero (counting up towards it). It supports counting up: * integers `12345` * floats `0.1234` * formatted numbers `1,234,567.00` Features: * Auto-detect for integers, floats or formatted numbers * The plugin will also use the number of decimal places the original number is using. * Lightweight: ~1kb * Minimal setup *Requires [waypoints.js](http://imakewebthings.com/jquery-waypoints/)* Demo ==== **[DEMO](http://bfintal.github.io/Counter-Up/demo/demo.html)** Usage ===== **Include** ``` ``` **HTML** ``` 1,234,567.00 $1.99 12345 ``` **jQuery** ``` $('.counter').counterUp(); ``` **or with extra parameters** ``` $('.counter').counterUp({ delay: 10, time: 1000 }); ``` `delay` - The delay in milliseconds per number count up `time` - The total duration of the count up animation Social Stuff ============ Twitter: [@bfintal](https://twitter.com/bfintal) & [@gambitph](https://twitter.com/gambitph) Google+: