ActiveListAutoPlayConfig<T>
TYPE DEFINITION
Represents the configuration for AutoPlay. AutoPlay means that the ActiveList will move to the next content by itself after a duration.
Since 1.0.0
Properties
-
duration
number | ActiveListAutoPlayDurationCallback<T>
The time in milliseconds the ActiveListContent should remain active, before moving to the next ActiveListContent.
Since 1.0.0
-
stopsOnUserInteraction Optional
boolean
Whether or not the user interacting with the component should stop the autoPlay.
When true any activation / deactivation method called on the ActiveList will stop the autoPlay. When false it will debounce the autoPlay instead by the duration.
Defaults to false.
Since 1.0.0