@click is not working in lists with virtual listview

I have populated a link inside a virtual-listview.
However, the link is not active after clicking on the @click. Best guess it’s not initiated. Moreover @click=“myfunc” is visible in the inspect element after the listview has been populated.

to get the same state, just try to create a link inside a virtual listview with @click.

ps. I have not tested the same on the normal listview.

It won’t work in VL templates. @click is only parsed on initial page load. Assign event manually to dynamic content:

$('.virtual-list').on('click', '.some-element', function () {