myanmarcounterup

1.0.0 • Public • Published

MyanmarCounterUp

Add counter up functionality to your numbers in Myanmar font.
Giphy

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);

Further Development Options

Package Sidebar

Install

npm i myanmarcounterup

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.67 kB

Total Files

4

Last publish

Collaborators

  • zawye