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 loop: config.loop, 15 speed: config.speed, 16 slidesPerView: config.slidesPerView, 17 slidesPerGroup: config.slidesPerGroup, 18 breakpoints: config.breakpoints, 19 grabCursor : true, 20 initialSlide : (config.initial_slide == null) ? 0 : config.initial_slide, 21 } 22 23 var pagination = { 24 pagination: { 25 enabled: config.dots, 26 el: '.rkit-cardslider-pagination', 27 type: 'bullets', 28 clickable: true, 29 bulletClass: 'rkit-cardslider-bullet', 30 bulletActiveClass: 'rkit-cardslider-bullet-active', 31 clickableClass: 'rkit-cardslider-bullet-clickable' 32 } 33 } 34 35 var navigation = { 36 navigation: { 37 enabled: config.arrows, 38 nextEl: '.rkit-swiper-button-next', 39 prevEl: '.rkit-swiper-button-prev' 40 } 41 } 42 43 var dataConfig = { ...conf, ...pagination, ...navigation } 44 45 let container = $scope.find('.rkit-swiper'); 46 const swiper = new Swiper(container[0], dataConfig); 47 }); 48});
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.