Carousel.setInteractive

Sets whether self can be navigated.

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

class Carousel
void
setInteractive

Parameters

interactive bool

whether self can be navigated