team.js (1133B)
1 (function ($) { 2 3 "use strict"; 4 5 var team_js = function ($scope, $) { 6 7 if ($('.four-item-carousel').length) { 8 $('.four-item-carousel').owlCarousel({ 9 loop:true, 10 margin:30, 11 nav:true, 12 smartSpeed: 500, 13 autoplay: 1000, 14 navText: [ '<span class="flaticon-left-arrow"></span>', '<span class="flaticon-right-arrow"></span>' ], 15 responsive:{ 16 0:{ 17 items:1 18 }, 19 600:{ 20 items:2 21 }, 22 800:{ 23 items:3 24 }, 25 1024:{ 26 items:3 27 }, 28 1200:{ 29 items:4 30 } 31 } 32 }); 33 } 34 } 35 36 37 $(window).on('elementor/frontend/init', function () { 38 elementorFrontend.hooks.addAction('frontend/element_ready/resox_team_slider.default', team_js); 39 }); 40 })(window.jQuery);