Retrieves the currently selected index in an array data group on the selected component. An array data group is a data field with dataType: 'arrayItems' in the manifest, letting a Wix user manage a repeated set of items, such as a list of slides or testimonials.
| Name | Type | Description |
|---|---|---|
options.arrayItemsDisplayGroupKey | string | Key of the array items display group to read from. Only required if the component's manifest declares more than one. |
Promise<number>
Index of the currently selected array item.
Last updated: 8 September 2026