data-mini=”true”

このエントリーをはてなブックマークに追加

コラプシブルパネルにdata-mini=”true”を指定するとヘッダーのサイズが小さくなります。

data-role=”collapsible”を指定した要素にdata-mini=”true”を指定します。

<div data-role="collapsible" data-mini="true">
   <h3>I'm a header</h3>
   <p>I'm the collapsible content. By default I'm closed, but you can click the header to open me.</p>
</div>

data-mini=”true”はボタンフォーム部品でも利用できます。

参考URL

jQuery Mobile Docs - Collapsible Content

登録日 : 2012年10月13日 最終更新日 : 2016年12月19日

同じカテゴリー(コラプシブルパネル)のエントリー

検索

スポンサードリンク

バージョン

リファレンス