How to react to the event of ons-list with »tappable« ons-list-items?
-
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.
Urs
-
@uhunkler Onclick or event listener is the trick and you would use the click event passing this.
-
Thanks @munsterlander, I’ll try that approach.