mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-17 06:20:26 +00:00
edits
This commit is contained in:
parent
0be6ab1012
commit
0fd39befa7
1 changed files with 3 additions and 3 deletions
|
|
@ -34,21 +34,21 @@
|
|||
|
||||
<p>By adding the <code>data-type="horizontal"</code> attribute to the <code>controlgroup</code> container, you can swap to a horizontal-style group that floats the buttons side-by-side and sets the width to only be large enough to fit the content. (Be aware that these will wrap to multiple lines if the number of buttons or the overall text length is too wide for the screen.)
|
||||
|
||||
<p><strong>Horizontal</strong> grouped buttons</p>
|
||||
<p>Horizontal grouped buttons:</p>
|
||||
<div data-role="controlgroup" data-type="horizontal">
|
||||
<a href="index.html" data-role="button">Yes</a>
|
||||
<a href="index.html" data-role="button">No</a>
|
||||
<a href="index.html" data-role="button">Maybe</a>
|
||||
</div>
|
||||
|
||||
<p><strong>Horizontal</strong> grouped buttons with icons</p>
|
||||
<p>Horizontal grouped buttons with icons:</p>
|
||||
<div data-role="controlgroup" data-type="horizontal" >
|
||||
<a href="index.html" data-role="button" data-icon="arrow-u">Up</a>
|
||||
<a href="index.html" data-role="button" data-icon="arrow-d">Down</a>
|
||||
<a href="index.html" data-role="button" data-icon="delete">Delete</a>
|
||||
</div>
|
||||
|
||||
<p><strong>Horizontal</strong> grouped buttons, icon only</p>
|
||||
<p>Horizontal grouped buttons, icon only:</p>
|
||||
<div data-role="controlgroup" data-type="horizontal" >
|
||||
<a href="index.html" data-role="button" data-icon="arrow-u" data-iconpos="notext">Up</a>
|
||||
<a href="index.html" data-role="button" data-icon="arrow-d" data-iconpos="notext">Down</a>
|
||||
|
|
|
|||
Loading…
Reference in a new issue