client.js (520B)
1 (function ($) { 2 3 "use strict"; 4 5 var client_js = function ($scope, $) { 6 7 if ($('.theme_carousel').length) { 8 $(".theme_carousel").each(function (index) { 9 var $owlAttr = {}, 10 $extraAttr = $(this).data("options"); 11 $.extend($owlAttr, $extraAttr); 12 $(this).owlCarousel($owlAttr); 13 }); 14 } 15 } 16 17 18 $(window).on('elementor/frontend/init', function () { 19 elementorFrontend.hooks.addAction('frontend/element_ready/welbim_clients.default', client_js); 20 }); 21 })(window.jQuery);