Incrementing Counters With JavaScript – slowNumber.js

Category: Animation , Javascript | August 15, 2018
Author: israelst
Views Total: 1,091
Official Page: Go to website
Last Update: August 15, 2018
License: MIT

Preview:

Incrementing Counters With JavaScript – slowNumber.js

Description:

An automatic incrementing counter written in pure JavaScript for animating numbers from zero to a specified number.

How to use it:

Download and import the ‘slowNumber.js’ library into the document.

<script src="slowNumber.js"></script>

Wrap the target number into a container with the class of ‘slowNumber’. Done.

<h1 class="slowNumber">100</h1>
<h1 class="slowNumber">10,042</h1>

You Might Be Interested In:


Leave a Reply