i tried to add a click listener to a button using the UI provided through the properties menu but the exported function never gets executed, here is an example of a generated exported function
export function startBtn_click(event, $w) {
//Add your code for this event here:
}
i solved this problem by using $w().onClick(), could it be that there is a bug when adding events using the properties menu?