Closed briankosw closed 4 years ago
Is there a way to change carousel properties, such as the slidesPerPage, during runtime? I tried to change the state by using this.setState() but the change doesn't reflect on the carousel.
this.setState()
@briankosw
Why did you close this issue?
I asked the question prematurely and realized it was a stupid question. My bad!
No problem.
react-carousel supports a controlled component.
Is there a way to change carousel properties, such as the slidesPerPage, during runtime? I tried to change the state by using
this.setState()
but the change doesn't reflect on the carousel.