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