I am trying to reinitialize Owl carousel after a successful ajax call. The ajax call will change the data but the view should stay the same.I am having an issue where the vi
This one works for me in version 2
var owl = $('#owl-carousel'); owl.trigger('destroy.owl.carousel'); owl.owlCarousel({ items: 1, });