File: /home/frenchy/refonte2023/wordpress/wp-content/themes/gimont/assets/js/elementor/testimonial-6.js
(function($){
"use strict";
$(window).on('elementor/frontend/init', function () {
elementorFrontend.hooks.addAction('frontend/element_ready/gimont_elementor_testimonial_6.default', function(){
/* Add your code here */
$(".ova-testimonial-6 .slide-testimonials").each(function(){
var owlsl = $(this);
var owlsl_ops = owlsl.data('options') ? owlsl.data('options') : {};
if ( $('body').hasClass('rtl') ) {
owlsl_ops.rtl = true;
}
owlsl.owlCarousel({
margin: owlsl_ops.margin,
items: 1,
loop: owlsl_ops.loop,
autoplay: owlsl_ops.autoplay,
autoplayTimeout: owlsl_ops.autoplayTimeout,
nav: false,
dots: owlsl_ops.dots,
autoplayHoverPause: owlsl_ops.autoplayHoverPause,
slideBy: owlsl_ops.slideBy,
smartSpeed: owlsl_ops.smartSpeed,
rtl: owlsl_ops.rtl,
});
/* Fixed WCAG */
owlsl.find(".owl-nav button.owl-prev").attr("title", "Previous");
owlsl.find(".owl-nav button.owl-next").attr("title", "Next");
owlsl.find(".owl-dots button").attr("title", "Dots");
});
});
});
})(jQuery);