1( function( $ ) { 2 /** 3 * @param $scope The Widget wrapper element as a jQuery element 4 * @param $ The jQuery alias 5 */ 6 var Widget_Post_Carousel_Handler = function( $scope, $ ) { 7 var tnmArrows = ajax_buff['tnm_arrows']['sliderArrows']['content']; 8 var $carousels = $('.js-carousel-3i20m'); 9 $carousels.each( function() { 10 $(this).owlCarousel({ 11 margin: 20, 12 loop: true, 13 nav: true, 14 dots: false, 15 navText: ['<img src="'+tnmArrows['dark-prev']+'" alt="l" class="left-arrow ">', '<img src="'+tnmArrows['dark-next']+'" alt="left" class="left-arrow ">'], 16 responsive: { 17 0 : { 18 items: 2, 19 }, 20 576 : { 21 items: 2, 22 }, 23 24 768 : { 25 items: 2, 26 }, 27 28 992 : { 29 items: 3, 30 }, 31 }, 32 }); 33 }) 34 }; 35 // Make sure you run this code under Elementor. 36 $( window ).on( 'elementor/frontend/init', function() { 37 elementorFrontend.hooks.addAction( 'frontend/element_ready/barley_post_carousel.default', Widget_Post_Carousel_Handler ); 38 } ); 39} )( jQuery );
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.