D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
ltfsolutionsco
/
www
/
wp-content
/
plugins
/
fusion-builder
/
assets
/
js
/
min
/
library
/
Filename :
jquery.countTo.js
back
Copy
!function(d){d.fn.countTo=function(f){return f=d.extend({},d.fn.countTo.defaults,f||{}),d(this).each(function(){var a=d.extend({},f,{from:parseFloat(d(this).attr("data-from")||f.from),to:parseFloat(d(this).attr("data-to")||f.to),speed:parseInt(d(this).attr("data-speed")||f.speed,10),refreshInterval:parseInt(d(this).attr("data-refresh-interval")||f.refreshInterval,10),decimals:parseInt(d(this).attr("data-decimals")||f.decimals,10)}),t=Math.ceil(a.speed/a.refreshInterval),e=(a.to-a.from)/t,r=this,n=0,o=a.from,l=setInterval(function(){n++,s(o+=e),"function"==typeof a.onUpdate&&a.onUpdate.call(r,o);t<=n&&(clearInterval(l),o=a.to,"function"==typeof a.onComplete&&a.onComplete.call(r,o))},a.refreshInterval);function s(t){var e=a.formatter.call(r,t,a);d(r).html(e)}s(o)})},d.fn.countTo.defaults={from:0,to:0,speed:1e3,refreshInterval:100,decimals:0,formatter:function(t,e){return t.toFixed(e.decimals)},onUpdate:null,onComplete:null}}(jQuery);
Name
Size
Last Modified
Owner
Permissions
Actions
.htaccess
0.193
KB
June 03 2023 11:45:47
ltfsolutionsco
0644
Chart.js
153.208
KB
October 23 2019 10:16:08
ltfsolutionsco
0755
jquery.countTo.js
0.923
KB
October 23 2019 10:16:08
ltfsolutionsco
0755
jquery.countdown.js
2.812
KB
October 23 2019 10:16:08
ltfsolutionsco
0755
jquery.event.move.js
5.407
KB
October 23 2019 10:16:08
ltfsolutionsco
0755
jquery.textillate.js
5.577
KB
October 23 2019 10:16:08
ltfsolutionsco
0755
2017 © D7net | D704T team