1(function($) { 2 var HeroSlider = function($scope, $) { 3 4 var hero_slider = $('.active-main-slider'); 5 // var ocOptions = oc.data('carousel-options'); 6 hero_slider.each(function(index) { 7 var carousel_opt = $(this).data('carousel-options'); 8 $(this).owlCarousel({ 9 dots: $(this).data("dots"), 10 nav: $(this).data("nav"), 11 loop: $(this).data("loop"), 12 autoplay: $(this).data("autoplay"), 13 autoplayTimeout: $(this).data("autoplay-timeout"), 14 mouseDrag: $(this).data("mouse-drag"), 15 touchDrag: $(this).data("touch-drag"), 16 items: $(this).data('items'), 17 autoplayHoverPause: $(this).data("auto-hover"), 18 navText: ['<i class="fas fa-angle-left"></i>', '<i class="fas fa-angle-right"></i>'], 19 margin: $(this).data('margin'), 20 smartSpeed: $(this).data('smart-speed'), 21 fluidSpeed: $(this).data('fluid-speed'), 22 autoplaySpeed: $(this).data('autoplay-speed'), 23 navSpeed: $(this).data('nav-speed'), 24 dotsSpeed: $(this).data('dot-speed'), 25 center: $(this).data('center-mode'), 26 responsive: { 27 0: { 28 items: 1, 29 }, 30 // breakpoint from 480 up 31 360: { 32 items: $(this).data('mobile-items'), 33 margin: $(this).data('mobile-margin') 34 }, 35 // breakpoint from 768 up 36 768: { 37 items: $(this).data('tablet-items'), 38 margin: $(this).data('tablet-margin') 39 }, 40 992: { 41 items: $(this).data('medium-items'), 42 margin: $(this).data('medium-margin') 43 }, 44 1200: { 45 items: $(this).data('items'), 46 } 47 } 48 }); 49 }); 50 }; 51 52 $(window).on('elementor/frontend/init', function() { 53 elementorFrontend.hooks.addAction('frontend/element_ready/hero_slider.default', HeroSlider); 54 }); 55 56})(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.