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