Skip to content

shahadatzcpe/tamjid-counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Tamjid Counter

A jQuery plugin that animates a number from zero (counting up towards it). It supports counting up and bottom.

Usage

Include

<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="tamjid-counter.min.js"></script>

HTML

<span class="counter">450</span>
<span>$</span><span class="counter">300</span>
<span class="counter">4000</span><span>+</span>

jQuery

$('.counter').tamjidCounter();

or with extra parameters

 $('.counter').tamjidCounter({
      duration: 3000,
      delay: 0
    });

duration - The total duration of the count up animation

delay - The delay in milliseconds per number count up

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published