Hello, 

I was wondering if there is an easy way to get the current index/position of the item that a carousel is on at the moment? In mobile you can just use the index to retrieve the position but I don't see anything like that in Web. Can anyone help me?


Thank you!


Hello Nick,

I was checking the carousel pattern on https://silkui.outsystems.com/Patterns_Web.aspx#Web_Featured_Carousel 

and I noticed that the classes of these items change


Maybe according to this hierarchy you can obtain the number of the item and retrieve the position.

https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Patterns/Using_Web_Patterns/Content/Carousel



Good luck!


Kind regards,

S. Rachid