How to react to the event of ons-list with »tappable« ons-list-items?
uhunkler last edited by uhunkler
When I have an ons-list with »tappable« ons-list-items how can I react to the event which is sent by the item on tap? I didn’t find an example. Do I need to add »onclick« or can I use an event listener. To what event should that be bound?
Thanks for you answers.
@uhunkler Onclick or event listener is the trick and you would use the click event passing this.
uhunkler last edited by
Thanks @munsterlander, I’ll try that approach.