Skip to content

Latest commit

 

History

History
16 lines (16 loc) · 589 Bytes

README.md

File metadata and controls

16 lines (16 loc) · 589 Bytes

Animation of Stats

Count Up To Defined Figure

Features

Parameters

  • Attribute - name of attribute with count up to value, default 'data-count-to';
  • Duration - animate timing function, default 1000ms;
  • Easing - animate easing function, default 'linear';
  • Commas - add comma separators to number, default false

Calling

E.g. countUp('#idtoapply', 'data-count-to', 1000, 'swing', true)

Demo

https://codepen.io/N4Design/pen/JBgeqy

Live Example

https://hut34.io/ and go to Platform menu item

Credit

Credit to https://codepen.io/hi-im-si/ for the original idea