Carousel.setInteractive

void setInteractive(bool interactive)

Sets whether self can be navigated.

This can be used to temporarily disable the carousel to only allow navigating it in a certain state.

Parameters

interactivewhether self can be navigated