1var maAdvancedCarousel = function($scope, $) { 2 var maAdvancedCarousel = $scope.find(".tm-slider").eq(0); 3 4 maAdvancedCarousel.each(function(index, el) { 5 var mobiles = jQuery(this).data('mobiles'); 6 var tabs = jQuery(this).data('tabs'); 7 jQuery(this).slick({ 8 dots: true, 9 infinite: true, 10 slidesToShow: 1, 11 autoplay: true, 12 autoplaySpeed: 2000, 13 responsive: [ 14 { 15 breakpoint: 1024, 16 settings: { 17 slidesToShow: tabs, 18 slidesToScroll: 1 19 } 20 }, 21 { 22 breakpoint: 480, 23 settings: { 24 slidesToShow: mobiles, 25 slidesToScroll: 1 26 } 27 } 28 ] 29 }); 30 }); 31 32 jQuery(document).ready(function() { 33 setTimeout(function() { 34 jQuery('.tm-slider.slick-slider .slick-next, .post-slider.slick-slider .slick-next').addClass('fas fa-chevron-right'); 35 jQuery('.tm-slider.slick-slider .slick-prev, .post-slider.slick-slider .slick-prev').addClass('fas fa-chevron-left'); 36 }, 300); 37 }); 38 39 } 40 41 // Make sure you run this code under Elementor.. 42 jQuery(window).on('elementor/frontend/init', function () { 43 elementorFrontend.hooks.addAction( 44 'frontend/element_ready/advanced-carousel.default', 45 maAdvancedCarousel 46 ); 47 }); 48
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.