ui-btn-left
ヘッダーは、左右ui-btn-right
それぞれに 2 つのボタンを収容できます。
ただし、属性を持つcontrolgroupウィジェットを使用して、ヘッダーに 3 つ以上のボタンを配置できdata-type="horizontal"
ます。
<div data-role="header">
<!-- right-hand button -->
<a href="#" class="ui-btn-right" data-icon="bars">Bcode</a>
<!-- if you don't want to use title,
replace it with <span class="ui-title"></span> -->
<h1>Header</h1>
<!-- left-hand button -->
<div data-role="controlgroup" data-type="horizontal" class="ui-btn-left">
<a href="#panel" data-role="button" data-icon="star">Panel</a>
<a href="#" data-role="button" data-icon="back">Back</a>
</div>
</div>
デモjQM <= 1.3
デモjQM >= 1.4