Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
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.
munsterlander 侍 last edited by
@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.