Skip to content

chmontgomery/kCounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Description

A simple animated counter, accepts numbers or strings

Requirements

JQuery 1.7 or later

Example

View Examples

Usage & Examples

initialise with options

$('#example').counter({ initial: 54321 }) ;

update the counter

$('#example').counter('update', 12345) ;

Available options and defaults

'height'         : 50, // The default height of an individual counter
'width'          : 50, // The default width of an individual counter
'initial'        : false // Override the element content if desired,
'easing'		 : 'swing' // [swing,linear] unless using easing plugin (Jquery UI)
'duration'       : 'fast' // [slow,fast,integer value]

About

A simple JQuery plugin to animate a counter

Resources

Stars

Watchers

Forks

Packages

No packages published