1(function ($) { 2 "use strict"; 3 4 function sliders() { 5 /*banner slider*/ 6 var swiper = new Swiper('.tst-main-slider', { 7 slidesPerView: 1, 8 speed: 800, 9 effect: 'fade', 10 fadeEffect: { 11 crossFade: true 12 }, 13 pagination: { 14 el: '.tst-main-pagination', 15 clickable: true, 16 }, 17 parallax: true, 18 autoplay: false, 19 navigation: { 20 prevEl: '.tst-main-prev', 21 nextEl: '.tst-main-next', 22 }, 23 }); 24 } 25 26 /* Init Elementor Front Scripts */ 27 $(window).on('elementor/frontend/init', function () { 28 29 // Widgets 30 elementorFrontend.hooks.addAction( 'frontend/element_ready/tastyc-hero-slider.default', function() { 31 //sliders(); 32 } ); 33 34 elementorFrontend.hooks.addAction( 'frontend/element_ready/tastyc-cta.default', function() { 35 if ( $('.tst-call-to-action').length ) { 36 var divider_el = $('.tst-call-to-action'); 37 var divider_sec = divider_el.closest('section'); 38 39 if ( divider_sec.length ) { 40 divider_sec.css('background-color', 'transparent'); 41 } 42 } 43 } ); 44 45 // Global 46 elementorFrontend.hooks.addAction( 'frontend/element_ready/global', function( $scope ) { 47 48 } ); 49 elementorFrontend.hooks.addAction( 'frontend/element_ready/widget', function( $scope ) { 50 51 } ); 52 }); 53})(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.