Base theme for LMMI Journal
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

28 lines
861 B

(function ($, Drupal, drupalSettings) {
Drupal.behaviors.mtOwlCarouselTestimonials = {
attach: function (context, settings) {
$(context).find('.mt-carousel-testimonials').once('mtOwlCarouselTestimonialsInit').each(function() {
$(this).owlCarousel({
items: 2,
responsive:{
0:{
items:1,
},
480:{
items:1,
},
1200:{
items:2,
}
},
autoplay: drupalSettings.magazineplus.owlCarouselTestimonialsInit.owlTestimonialsAutoPlay,
autoplayTimeout: drupalSettings.magazineplus.owlCarouselTestimonialsInit.owlTestimonialsEffectTime,
nav: true,
dots: false,
loop: true,
navText: false
});
})
}
};
})(jQuery, Drupal, drupalSettings);