collapsible-set
data-role=”collapsible-set”はアコーディオンウィジェットを作成するための属性です。
複数のコラプシブルパネルをdata-role=”collapsible-set”で包むとアコーディオンウィジェットが作成できます。
<div data-role="collapsible-set">
<div data-role="collapsible" data-collapsed="false">
<h3>Section 1</h3>
<p>I'm the collapsible set content for section 1.</p>
</div>
<div data-role="collapsible">
<h3>Section 2</h3>
<p>I'm the collapsible set content for section 2.</p>
</div>
</div>
アコーディオンウィジェットではコラプシブルパネルの属性が利用可能です。
参考URL
jQuery Mobile Docs - Collapsible Content
登録日 : 2012年10月14日 最終更新日 : 2016年12月19日