https://github.com/simshaun/jquery-number-animation
Simple number animation example written for a StackOverflow question.
https://github.com/simshaun/jquery-number-animation
Last synced: 7 months ago
JSON representation
Simple number animation example written for a StackOverflow question.
- Host: GitHub
- URL: https://github.com/simshaun/jquery-number-animation
- Owner: simshaun
- Created: 2011-12-03T00:15:33.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-10-15T20:30:59.000Z (almost 14 years ago)
- Last Synced: 2025-01-30T16:43:12.498Z (over 1 year ago)
- Homepage:
- Size: 84 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Simple number animation plugin.
======
Usage
------
$(function() {
$(".number").numAnim({
numNums: 5,
duration: 3
});
});
Parameters
------
Param | Default | Description
-----------------------------------------
numNums | 2 | How many numbers to animate.
-----------------------------------------
numClass | autogen-num | Each number is wrapped in a span element with this class name.
-----------------------------------------
duration | 5 | In seconds, how long the animation will last.
-----------------------------------------
interval | 90 | In ms, how often the numbers are updated.