bootstrap carousel prevent auto slide code example
Example 1: bootstrap 4 stop auto slide
You just need to add one more attribute to your DIV tag which is
`data-interval="false"`
So
<div id="multi-item-example" class="carousel slide carousel-multi-item" data-ride="carousel" data-interval="false">
Note* : no need to touch JS!
<------------------ OR ---------------------->
$('.carousel').carousel({
interval: false,
});
Example 2: turn off auto slide bootstrap carousel
$('.carousel').carousel({
interval: false,
});