Topic: Carousel - Stop Default Sliding

Bill Bensing pro asked 5 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 5 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 5 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/



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • 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