I need to get the current number of items shown in an OwlCarousel. eg: the number that is set with the {items: n}
setting. In this case using the responsive directive.
{
items: 4,
responsive: {
720: {
items: 3
},
320: {
items: 2
}
}
}
Something like this I expect
var owl = $('.carousel').data('owl.carousel');
var current_items = owl.settings.items;
I would like to programmatically determine how many items are currently being shown at once.