AutoplayOptions
interface AutoplayOptions
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
delay | number | ✔️ | 2000 | Reactivation delay after mouse input in milisecond |
delayOnMouseLeave | number | ✔️ | 0 | Reactivation delay after mouse leave |
speed | number | ✔️ | 1 | Y-axis(yaw) rotation speed |
pauseOnHover | boolean | ✔️ | false | Whether to pause rotation on mouse hover |
canInterrupt | boolean | ✔️ | true | Whether user can interrupt the rotation with click/wheel input |
disableOnInterrupt | boolean | ✔️ | false | Whether to disable autoplay on user interrupt |