Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (carousel.hasClass("owl-carousel--custom")) {
- carousel.owlCarousel({
- autoHeight: true,
- loop: true,
- responsive: {
- 0 : {
- items: 1
- }
- }
- });
- }
- else {
- carousel.owlCarousel({
- rtl: $('html').attr('dir') === 'rtl',
- loop: true,
- margin: 12,
- dots: dots,
- autoplay: autoPlay,
- nav: nav,
- navText: [
- '<i class="fa fa-angle-left" aria-hidden="true"></i>',
- '<i class="fa fa-angle-right" aria-hidden="true"></i>'
- ],
- autoplayTimeout: 4000,
- autoplayHoverPause: true,
- responsive: responsive
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement