Topic: how to increase interval react carousel component
kkbehera free asked 6 years ago
Raul Garcia free answered 3 years ago
Hello,
I would like to set interval={0}, but it is not working. How can I stop the interval?
Best regards, RG.
Krzysztof Wilk staff commented 3 years ago
Try to set interval={false}
, that should work :)
Keep coding!
Jakub Strebeyko staff answered 6 years ago
data-
attributes are used for communication of components' internal logic with their DOM representation and are a popular way of dealing with customization in MDB jQuery version. In MDB React, <Carousel>
takes in interval
props, specifying a number of milliseconds after which it will be performing the next()
function (that, in turn, is also passed in as a this.props.next
props). Therefore, Carousel's interval in MDB React is set by, for example, <Carousel interval={4000}>
.
With Best Regards,
Kuba
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB React
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No