Hi guys,
On my repeater,
I'd like for a specific element to be collapsed on every even item and expanded on every odd item.
Any suggestion how should I do it?
Thanks,
J.D.
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
I've found out how to do it. Thanks
$w("#repeater1").onItemReady( ($item, itemData, index) => { if(index % 2 === 0) { $item("#itemElement1").collapse(); }