Hey there,
so i created an oj-bind-for-each with a div with an oj-bind-text inside. I added a eventlistener to the div. On Click it should return me the current value of the oj-bind-text.
<oj-bind-for-each data="{{baudeliste}}">
<template>
<div onclick="openListener()">
<div><oj-bind-text value="[[$current.data.Gebaeud]]"></oj-bind-text></div>
</div>
</template>
</oj-bind-for-each>
How do I get the value that was just clicked?
Thank you