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 display expandable content by default for <list-item>
-
OnSen UI version 2.10.0 was just released with the introduction of list-item with expandable content.
My question is: how the i make the expandable content of the list-item visible by default (i.e. when the list-item is first displayed)? Presently, expandable contents are hidden until the user taps on the list-item.Thanks
-
Try showExpansion on init.
https://onsen.io/v2/api/js/ons-list-item.html#method-showExpansion