1(function ($) { 2 "use strict"; 3 $(window).on('elementor/frontend/init', () => { 4 elementorFrontend.hooks.addAction('frontend/element_ready/winwood-post-grid.default', ($scope) => { 5 let $carousel = $('.winwood-carousel', $scope); 6 if ($carousel.length > 0) { 7 let data = $carousel.data('settings'); 8 $carousel.slick( 9 { 10 dots: data.navigation == 'both' || data.navigation == 'dots' ? true : false, 11 arrows: data.navigation == 'both' || data.navigation == 'arrows' ? true : false, 12 infinite: data.loop, 13 speed: 300, 14 slidesToShow: parseInt(data.items), 15 autoplay: false, 16 autoplaySpeed: 5000, 17 slidesToScroll: 1, 18 lazyLoad: 'ondemand', 19 responsive: [ 20 { 21 breakpoint: 1024, 22 settings: { 23 slidesToShow: parseInt(data.items_tablet), 24 } 25 }, 26 { 27 breakpoint: 768, 28 settings: { 29 slidesToShow: parseInt(data.items_mobile), 30 } 31 } 32 ] 33 } 34 ); 35 } 36 }); 37 }); 38 39})(jQuery); 40 41
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.