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