Skip to main content
Version: 1.0.4

IAutoPlayConfig

@spartanfx/react v1.0.4


@spartanfx/react / IAutoPlayConfig

Interface: IAutoPlayConfig

Configuration for auto-play behavior.

Properties

PropertyTypeDescription
enabledbooleanWhether auto-play is enabled. Default false
interval?numberInterval between slides in milliseconds. Default 5000
pauseOnFocus?booleanWhether to pause when the carousel loses focus. Default true
pauseOnHover?booleanWhether to pause on hover. Default true