1/* global WCF_ADDONS_JS */ 2(function ($) { 3 /** 4 * @param $scope The Widget wrapper element as a jQuery element 5 * @param $ The jQuery alias 6 */ 7 const ArolaxTestimonial = function ($scope, $) { 8 const slider = $($('.arolax_testimonial_slider', $scope)[0]); 9 const sliderSettings = $($('.arolax_testimonial_wrapper', $scope)[0]).data('settings') || {}; 10 sliderSettings.handleElementorBreakpoints = true; 11 12 new elementorFrontend.utils.swiper(slider, sliderSettings).then(newSwiperInstance => newSwiperInstance); 13 }; 14 15 // Make sure you run this code under Elementor. 16 $(window).on('elementor/frontend/init', function () { 17 elementorFrontend.hooks.addAction('frontend/element_ready/arolax--testimonial.default', ArolaxTestimonial); 18 }); 19})(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.