Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
immortalist
/
wp-content
/
themes
/
woodmart
/
js
/
scripts
/
elements
:
counter.min.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
!function(e){e.each(["frontend/element_ready/wd_counter.default"],function(t,e){woodmartThemeModule.wdElementorAddAction(e,function(){woodmartThemeModule.visibleElements()})}),woodmartThemeModule.counterShortcode=function(e){"done"!==e.attr("data-state")&&"process"!==e.attr("data-state")&&e.prop("Counter",e.text()).animate({Counter:e.data("final")},{duration:parseInt(woodmart_settings.animated_counter_speed),easing:"swing",step:function(t){t>=e.data("final")?e.attr("data-state","done"):e.attr("data-state","process"),e.text(Math.ceil(t))}})},woodmartThemeModule.visibleElements=function(){e(".woodmart-counter .counter-value, .wp-block-wd-animated-counter span").each(function(){var t=e(this);t.waypoint(function(){woodmartThemeModule.counterShortcode(t)},{offset:"100%"})})},e(document).ready(function(){woodmartThemeModule.visibleElements()})}(jQuery);