1(function ($) { 2 3 "use strict"; 4 5 var three_item_carosel = function ($scope, $) { 6 7 //three-item-carousel 8 if ($('.three-item-carousel').length) { 9 $('.three-item-carousel').owlCarousel({ 10 loop:true, 11 margin:30, 12 nav:true, 13 smartSpeed: 1000, 14 autoplay: 500, 15 navText: [ '<span class="far fa-long-arrow-alt-left"></span>', '<span class="far fa-long-arrow-alt-right"></span>' ], 16 responsive:{ 17 0:{ 18 items:1 19 }, 20 480:{ 21 items:1 22 }, 23 600:{ 24 items:2 25 }, 26 800:{ 27 items:2 28 }, 29 1024:{ 30 items:3 31 } 32 } 33 }); 34 } 35 36 } 37 38 39 $(window).on('elementor/frontend/init', function () { 40 elementorFrontend.hooks.addAction('frontend/element_ready/travio_testimonial.default', three_item_carosel); 41 elementorFrontend.hooks.addAction('frontend/element_ready/travio_offer.default', three_item_carosel); 42 elementorFrontend.hooks.addAction('frontend/element_ready/travio_place_block.default', three_item_carosel); 43 }); 44})(window.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.