I have the exact same code in different parts of my site, but it works different somehow.
The idea is that I have a repeater, when I click a container it will change the background of the container I clicked, however it is changing the background of all of them. Is this a bug?
I’ve tried:
$w.onReady(function () {
$w("#container5").onClick((event) => {
$w('#container5').background.src = 'mySrc';
}) })
//
export function container5_onClick(event) { $w('#container5').background.src = 'mySrc' }
//
export function repeater1_onClick(event) { $w('#container5').background.src = 'mySrc' }