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.
triggering expandable list content myself
-
I’d like to have an expandable list item, with the “closed” list item having two quiet buttons, one of which opens the expandable item and the other does something else.
I know you can programatically control the open/close using showExpansion and hideExpansion
Right now, any tap on the entire list item triggers the expansion, which doesn’t allow me to use the other button.
Can anyone suggest how I could remove the event handler for the expandable list and control it myself, or some other option of achieving this?
-
@rogerkaplan Figured it out… call event.stopPropagation() in the event handler for the button. Duh.