custom elements in repeater get data from repeater

I am trying to create a custom button and use that button in a different repeater. I need to get data from the repeater on onItemReady and do something with the data and pass it to my custom button. how can I do it?

https://www.wix.com/velo/reference/$w/customelement/on

This shows how to send/recieve info from custom elements.

Hi @sepideh-khadempir ,

Please check this API reference to understand how to iterate each items in the repeater.

For example, you can use $w and $item inside the onItemReady function, so you can make changes to other elements that is not inside the repeater.

Certified Code