Skip to main content

AutoplayOptions

Since version 4.0.0

Options for Autoplay

interface AutoplayOptions

Properties

Whether user can interrupt the rotation with click/wheel input

Reactivation delay after mouse input in milisecond.

Reactivation delay after mouse leave when using pauseOnHover

Whether to disable autoplay on user interrupt

Whether to pause rotation on mouse hover

Y-axis(yaw) rotation speed

Properties

canInterrupt

>=4.0.0
canInterrupt

boolean

true

Whether user can interrupt the rotation with click/wheel input

delay

>=4.0.0
delay

number

2000

Reactivation delay after mouse input in milisecond.

delayOnMouseLeave

>=4.0.0
delayOnMouseLeave

number

0

Reactivation delay after mouse leave when using pauseOnHover

disableOnInterrupt

>=4.0.0
disableOnInterrupt

boolean

false

Whether to disable autoplay on user interrupt

pauseOnHover

>=4.0.0
pauseOnHover

boolean

false

Whether to pause rotation on mouse hover

speed

>=4.0.0
speed

number

1

Y-axis(yaw) rotation speed