balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

welcome.js (604B)


      1 (function ($) { 
      2 
      3     "use strict";
      4 
      5     var welcome_js = function ($scope, $) {
      6         
      7    //Progress Bar / Levels
      8 	if ($('.progress-levels .progress-box .bar-fill').length) {
      9 		$(".progress-box .bar-fill").each(function() {
     10 			var progressWidth = $(this).attr('data-percent');
     11 			$(this).css('width', progressWidth + '%');
     12 			$(this).children('.percent').html(progressWidth + '%');
     13 		});
     14 	}
     15 
     16     
     17     }
     18 
     19     $(window).on('elementor/frontend/init', function () {
     20         elementorFrontend.hooks.addAction('frontend/element_ready/welcome_section.default',welcome_js);
     21         
     22     });
     23 })(window.jQuery);