Advertisement
TangibleDesign

Untitled

Jul 25th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. if (carousel.hasClass("owl-carousel--custom")) {
  2. carousel.owlCarousel({
  3. autoHeight: true,
  4. loop: true,
  5. responsive: {
  6. 0 : {
  7. items: 1
  8. }
  9. }
  10. });
  11. }
  12. else {
  13. carousel.owlCarousel({
  14. rtl: $('html').attr('dir') === 'rtl',
  15. loop: true,
  16. margin: 12,
  17. dots: dots,
  18. autoplay: autoPlay,
  19. nav: nav,
  20. navText: [
  21. '<i class="fa fa-angle-left" aria-hidden="true"></i>',
  22. '<i class="fa fa-angle-right" aria-hidden="true"></i>'
  23. ],
  24. autoplayTimeout: 4000,
  25. autoplayHoverPause: true,
  26. responsive: responsive
  27. });
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement