How to make controls in the bootstrap carousel to change slides only when being clicked on? (I have text in my website and it makes it difficult for users to fill out the application)
Asked
Active
Viewed 16 times
0
-
Possible duplicate of [Bootstrap Carousel : Remove auto slide](https://stackoverflow.com/questions/14977392/bootstrap-carousel-remove-auto-slide) – Bertrand Aug 01 '18 at 21:15
1 Answers
0
According to the documentation (assuming you're using Bootstrap 4) you have to add data-interval="false"
to the element you're using for the carousel.
If you're initiating the carousel with JavaScript and want to keep all the options and configs in one place, add interval: false
to your configuration.

Douwe de Haan
- 6,247
- 1
- 30
- 45
-
-
On the HTML element that has the class `carousel`, with the application inside it. – Douwe de Haan Aug 01 '18 at 19:42