Topic: Carousel - Stop Default Sliding
Bill Bensing pro asked 6 years ago
I'm using the carousel with the multi items. How do I disable the default automatic sliding action? My goal is to have the carousel slide only when a person press the left or right button.
Bill Bensing pro answered 6 years ago
Thank You @Damian Gemza ! I read the documentation and did not see that. This may be a good note to add in a future revision of the docs.
Damian Gemza staff answered 6 years ago
Dear @Bill Bensing
Use the [interval]="'0'" input. This will disable the auto-sliding feature.
Here's the link to the Carousel Documentation.
Best Regards,
Damian
Christian Aichner pro commented 3 years ago
This does not work with the react version of MDB. There the entire thing just yeets itself like there's no tomorrow.
Arkadiusz Idzikowski staff commented 3 years ago
@Christian Aichner for problems with MDB React, please consider creating a new thread in the React support forum: https://mdbootstrap.com/support/cat/react/
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 7.0.0
- Device: Macbook Pro
- Browser: Chrome
- OS: Mac
- Provided sample code: No
- Provided link: No