1

I'm trying to make a list where some entries can be clicked to expand/show more/hide. It's very similar to a collapsible, but some items have "extra info" and others don't. Also, it should be more on the "list" side, semantically. I've tried searching for "collapsible list item" but I come up with more "lists inside collapsibles".

4

1 回答 1

0

只需对不需要展开或折叠的项目使用这样的普通列表视图即可。

<ul data-role="listview" data-theme="b">
<li><a href="acura.html">Acura</a></li>
</ul>

然后对于确实使用可折叠列表的项目,例如

<div data-role="collapsible">
   <h3>Stock #3 Order #3</h3>
   <ul data-role="listview">
   <li>Info 1</li>
   <li>Info 2</li>
   <li>Info 3</li>
   </ul>

   </div>
于 2013-06-12T19:33:24.000 回答