1jQuery(window).on('elementor/frontend/init', function () { 2 elementorFrontend.hooks.addAction('frontend/element_ready/rkit-card-slider.default', function ($scope, $) { 3 4 const slider = $scope.find('.rkit-card-slider'); 5 var config = slider.data('config'); 6 7 // console.log(config.initial_slide); 8 9 var conf = { 10 rtl: config.rtl, 11 arrows: config.arrows, 12 dots: config.dots, 13 autoplay: (config.autoplay) ? { 14 delay: 3000, 15 disableOnInteraction: false, 16 pauseOnMouseEnter: config.pauseOnHover 17 } : false, 18 loop: config.loop, 19 speed: config.speed, 20 slidesPerView: config.slidesPerView, 21 slidesPerGroup: config.slidesPerGroup, 22 breakpoints: config.breakpoints, 23 grabCursor : true, 24 initialSlide : (config.initial_slide == null) ? 0 : config.initial_slide, 25 } 26 27 var pagination = { 28 pagination: { 29 enabled: config.dots, 30 el: '.rkit-cardslider-pagination', 31 type: 'bullets', 32 clickable: true, 33 bulletClass: 'rkit-cardslider-bullet', 34 bulletActiveClass: 'rkit-cardslider-bullet-active', 35 clickableClass: 'rkit-cardslider-bullet-clickable' 36 } 37 } 38 39 var navigation = { 40 navigation: { 41 enabled: config.arrows, 42 nextEl: '.rkit-swiper-button-next', 43 prevEl: '.rkit-swiper-button-prev' 44 } 45 } 46 47 var dataConfig = { ...conf, ...pagination, ...navigation } 48 49 let container = $scope.find('.rkit-swiper'); 50 const swiper = new Swiper(container[0], dataConfig); 51 }); 52});
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.