Elements
Elements
Overview
The Elements component collects elements provided by HTML and initializes them.
Properties
root
root: HTMLElementThe root element.
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.
toggle
toggle: HTMLElementThe toggle button for autoplay. This can be undefined.