myanmarcounterup
v1.0.0
Published
Counter Up function with Myanmar Numbers
Downloads
6
Readme
MyanmarCounterUp
Add counter up functionality to your numbers in Myanmar font.
Setup
Make sure myanmarCounterUp.js is included in the HTML file.
<script src='myanmarCounterUp.js'></script>
For adding the counter-up functionality, add the class mm-counter
to an element.
<p class="mm-counter"></p>
To finish up, initialize counter up class by adding the following code.
The first parameter is the start of the number.
The second is the end of number.
And the last one is the miliseconds the animation will take.
var counter = new myanmarCounterUp(0,1000,5000);