Skip to main content

IAutoPlayConfig

@spartanfx/react v1.2.2


@spartanfx/react / index / IAutoPlayConfig

Interface: IAutoPlayConfig

Configuration for auto-play behavior.

Properties

Required

PropertyTypeDefaultDescription
enabledbooleanfalseWhether auto-play is enabled.

Options

PropertyTypeDefaultDescription
interval?number5000Interval between slides in milliseconds.
pauseOnFocus?booleantrueWhether to pause when the carousel loses focus.
pauseOnHover?booleantrueWhether to pause on hover.