Answer the question
In order to leave comments, you need to log in
Why doesn't the property value in owl.carousel change?
Hey!
Why doesn't the value of the properties change when the width of the browser window changes?
$('.right-table').owlCarousel({
loop: false,
responsive: {
1200: {
items: 8,
nav: false,
mouseDrag: false, // - деактивировать это свойство когда окно 1200px
touchDrag: false,
993: {
items: 8,
mouseDrag: true, // - и активировать его когда окно 993px
touchDrag: true,
}
onResize: function(){ refresh.owl.carousel;}
, but that didn't help either. Answer the question
In order to leave comments, you need to log in
you missed the brackets
responsive : {
// breakpoint from 0 up
0 : {
option1 : value,
option2 : value,
...
},
// breakpoint from 480 up
480 : {
option1 : value,
option2 : value,
...
},
// breakpoint from 768 up
768 : {
option1 : value,
option2 : value,
...
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question