Type alias Index

Index: [number, ...number[]]

The representation of all visual items in a carousel. The is at least one item that is always visible. In cases (e.g. display: none) where visibility is uncalculatable this is [0].

Each index represents the index of the child elements (Carousel.items | see items) inside the dom. The index of these elements inside the dom may not be equivalent to the visual indexes (e.g. css flexbox-ordering or css grids).