%PDF- %PDF-
Direktori : /home/tradesc/www/relax/wp-content/uploads/elementor/js/min/ |
Current File : /home/tradesc/www/relax/wp-content/uploads/elementor/js/min/elements-content.min.js |
(function($){var WidgetElements_ContentHandler=function($scope,$){var dcecontent=$scope.find('.dce-content');var dcecontentWrap=$scope.find('.dce-content-wrapper');var dceunfold=$scope.find('.unfold-btn a');var dceunfoldfa=$scope.find('.unfold-btn i.fa-old');var elementSettings=get_Dyncontel_ElementSettings($scope);if(elementSettings.enable_unfold){var originalHeightUnfold=dcecontentWrap.outerHeight();var heightUnfold=elementSettings.height_content.size;jQuery(window).load(function(){dcecontent.addClass('unfolded');if(originalHeightUnfold>heightUnfold){dceunfold.toggle(function(){dcecontent.height(originalHeightUnfold);dceunfoldfa.removeClass('eicon-plus-circle').addClass('eicon-minus-circle')},function(){dcecontent.height(heightUnfold);dceunfoldfa.removeClass('eicon-minus-circle').addClass('eicon-plus-circle')})}else{dcecontent.removeClass('unfolded').addClass('unfold-open');dceunfold.remove()}})} function onResize(){originalHeightUnfold=dcecontentWrap.outerHeight()} window.addEventListener("resize",onResize)};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/dyncontel-content.default',WidgetElements_ContentHandler)})})(jQuery)