change to other site with onClick event

Hello everyone, hello lovely six-team!

I got trough your tutorial and successfully generate my ‘repeater’ with dynamic content by user input.
Now I want when somebody clicks on the repeater image or for example the button of my repeater (onClick event), the page changes link and is showing an other page of my site menu.

Is there an example how to write function in my onClick() event

export function container1_click(event) {
//Add your code for this event here:
}

This function should get info about where to link from database!

Many thank in advance
Christoph

Hi Christoph ,

Check out this previous question on how to link repeater button to dynamic page - Here

Hope this helps!
Best,

Mustafa