I want to display items using OwlCarousel, I have 12 items, and I use stagePadding, so you can always see a small portion of the next and the previous item.
jQuery(document).ready(function() {
jQuery('#matching_carousel').owlCarousel({
stagePadding: 80,
loop: true,
margin: 20,
items: 1,
center: true,
nav: false,
responsive:{
0: {stagePadding: 80},
700: {stagePadding: 120},
1200: {stagePadding: 170},
}
});
});
Is there a way to not allow to scroll to the last element, i.e. whenever the previous to last element is visible in the center, no touch / mouse-dragging or forwarding using the navigation buttons is possible anymore?
I want to give the impression that there might follow more items after it, hence the last item should stay partially visible because of stagepadding, but not be allowed to come into the center.
Thanks!