@@ -184,17 +184,6 @@ class Carousel extends UI5Element {
184184 @property ( { type : Boolean } )
185185 hideNavigationArrows = false ;
186186
187- /**
188- * Defines the current first visible item in the viewport.
189- * Default value is 0, which means the first item in the viewport.
190- *
191- * @since 1.0.0-rc.15
192- * @default 0
193- * @public
194- */
195- @property ( { type : Number , noAttribute : true } )
196- _currentSlideIndex : number = 0 ;
197-
198187 /**
199188 * Defines the visibility of the page indicator.
200189 * If set to true the page indicator will be hidden.
@@ -288,6 +277,14 @@ class Carousel extends UI5Element {
288277 @property ( { type : Boolean , noAttribute : true } )
289278 _visibleNavigationArrows = false ;
290279
280+ /**
281+ * Defines the current slide index, which contains the visible item in the viewport.
282+ * @private
283+ * @since 2.16.0-r.c1
284+ */
285+ @property ( { type : Number , noAttribute : true } )
286+ _currentSlideIndex : number = 0 ;
287+
291288 _scrollEnablement : ScrollEnablement ;
292289 _onResizeBound : ResizeObserverCallback ;
293290 _resizing : boolean ;
@@ -700,6 +697,16 @@ class Carousel extends UI5Element {
700697 this . focusItem ( ) ;
701698 }
702699
700+ /**
701+ * The indices of the currently visible items of the component.
702+ * @public
703+ * @since 1.0.0-rc.15
704+ * @default []
705+ */
706+ get visibleItemsIndices ( ) : Array < number > {
707+ return this . _visibleItemsIndexes ;
708+ }
709+
703710 /**
704711 * Assuming that all items have the same width
705712 * @private
0 commit comments