Elements
You're browsing the documentation for v3
Elements
Overview
The Elements component collects elements provided by HTML and initializes them.
Properties
root
root: HTMLElement
The root element.
slider
slider: HTMLElement
The slider element. This can be undefined
.
track
track: HTMLElement
The track element.
list
list: HTMLElement
The list element.
slides
slides: HTMLElement[]
An array with slide elements.
arrows
arrows: HTMLElement
The element that wraps previous and next arrows. This can be undefined
.
prev
prev: HTMLButtonElement
The previous arrow element. This can be undefined
.
Be aware that this does not hold the generated arrow. Use Arrow#arrows
instead.
next
slider: HTMLButtonElement
The next arrow element. This can be undefined
.
Be aware that this does not hold the generated arrow. Use Arrow#arrows
instead.
bar
slider: HTMLElement
The progress bar element for autoplay. This can be undefined
.
play
play: HTMLElement
The play button for autoplay. This can be undefined
.
pause
pause: HTMLElement
The pause button for autoplay. This can be undefined
.