Community X.

Connect with other creators, share ideas, give feedback and get the latest product updates.

Jun 29

Corvid & Repeaters question

Hi guys, I have a repeater and the repeater has several items. Every repeater item has: 1. a button and, 2. a container (collapsed).


What I'd like to achieve is to let users click the button and the container.

The issue is when the user click on the button the container appears on every repeater items instead of the clicked one.

Code:


export function btnMenu_click(event) {
 if ($w("#bxMenu").collapsed){
 $w("#bxMenu").expand();
 }else{
 $w("#bxMenu").collapse();
 }
}

I'm sure it's easy...

Editor X

Design your boldest creations.