Autoplay
Manages auto-changing of slides after a defined time interval
Usage type: optional
This module can be imported using Autoplay
keyword.
import Glide, { Autoplay } from '@glidejs/glide/dist/glide.modular.esm'
new Glide('.glide').mount({ Autoplay })
Properties
time
type: {Number}
- Usage: Holds currently active auto-changing interval time
Methods
mount()
- Usage: Mounts and initializes a component
start()
- Usage: Starts auto-changing of slides on the instance
stop()
- Usage: Stops auto-changing of slides on the instance
bind()
- Usage: Registers listener for stopping auto-changing on mouseover
unbind()
- Usage: Removes previously registered mouseover listener