bootstrap stop carousel

47

turn off auto slide bootstrap carousel -

$('.carousel').carousel({
  interval: false,
});

bootstrap stop carousel -

<!--this is to never stop carousel Cycle -->
<!--data-pause="false" -->
<!--BOOTSTRAP 3 EXAMPLE:" -->
<div class="carousel slide wet-asphalt" data-ride="carousel" data-interval="500" data-pause="false">
<!--BOOTSTRAP 5 EXAMPLE:" -->
<div class="carousel slide wet-asphalt" data-ride="carousel" data-bs-interval="500" data-bs-pause="false">

Comments

Submit
0 Comments