"Untitled"
Bootstrap 4.1.1 Snippet by Arjunverma

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <h2>Api hit on owl slider on slide change</h2> </div> </div>
$('.owl-carousel').owlCarousel({ loop:true, margin:10, autoplay:true, nav:true, responsive:{ 0:{ items:1 }, 600:{ items:3 }, 1000:{ items:4 } } }); var owl = $('.owl-carousel'); owl.owlCarousel(); // Listen to owl events: owl.on('changed.owl.carousel', function(event) { alert("Slider Changed"); });

Related: See More


Questions / Comments: