This time I will share jQuery Plugin and tutorial about Simple jQuery Plugin For Animating Numbers – Numerator, hope it will help you in programming stack.
Numerator is yet another jQuery number animation plugin that allows you to add customizable animations to the numbers.
Features:
- Easing options.
- Allows to specify the length of the animation.
- Custom decimal places and delimiter.
- Callback events supported (onStar, onStep, and onComplete).
Basic Usage:
1. Load the latest jQuery javascript library and JQuery Numerator plugin in the footer of your page.
2 |
< script src = "jquery-numerator.js" ></ script > |
2. Create a container for the number animation.
1 |
< div class = "demo" > 0 </ div > |
3. Call the plugin with options.
2 |
$( '.demo' ).numerator( { |
Change log:
2015-09-23
- Make plugin AMD compliant
- Updated parseInt with radix
2014-06-04
This awesome jQuery plugin is developed by garethdn. For more Advanced Usages, please check the demo page or visit the official website.